Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Set The Background in External CSS 1

Status
Not open for further replies.
Hi Brett,

Try this in your css:

background:url(YourDirectoryPath\yourImage.jpg);

or

background-image:url(YourDirectoryPath\yourImage.jpg);

If you have scrolling pages you can fix the background while your tekst is scrolling with:

background-attachment: fixed; (this is IE only)

For more CSS properties by IE4 look at thread215-113187
For more CSS properties by IE3 look at thread215-113175

Hope this helps,
Erik



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top