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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting background-image

Status
Not open for further replies.

CorbinMyMan

Technical User
Feb 4, 2005
267
US
I'm having an issue with an image i'm setting as a background using CSS not showing up. Here's my CSS code:

#topSection
{
border: solid 1px black;
margin: 3px 203px 1px 1px;
height: 53px;
background-image: url(images/header/blue_white_filler.jpg);
background-repeat: repeat-x;
background-position: top left
}



and here is the html:

<BODY>
<div id="topSection"></div>
</BODY>

All the other styles for that id are working fine, such as the border and margin, just not the background image.

Am I doing something wrong? THANKS!
 
Oh i figured it out, my images are relative to the stylesheet, not the actual page :p

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top