Jump to content

Any idea why this background image isnt showing up?


chrisidas

Recommended Posts

Hey,

 

Here's what i have on my stylesheet

#header {
width: 1000px;
height: 112px;
background-image: url("../images/bgheader.gif");
background-repeat: repeat-x;
margin-bottom: 6px;
margin-right: auto;
margin-left: auto;
}

#header-left {
float: left;
height: 112px;
background-image: url("../images/bgheader-left.png");
background-position: left;
background-repeat: no-repeat;
}

#header-right {
float: right;
height: 112px;
padding-right: 15px;
background-image: url("../images/bgheader-right.png");
background-position: right;
background-repeat: no-repeat;
}

And here's my actual code

<div id="header">
<div id="header-right">
</div>
<div is="header-left">
  <img src="../images/logo.png" width="416" height="112" alt="Site Logo" />
  </div>
</div> 

It supposed to give the whole header like a gradient effect, then they bgheader-right and bgheader-left are supposed to give it like rounded corners. For some reason though, no matter what image i use for header-left, it doesnt show up. So i'm stuck with sharp edges on one side of my header.

 

I've moved the divs around and that didnt change anything. I had to put the header-right div before the header-left div because i couldnt get the positioning right otherwise.

 

I copied the code from the stylesheets used for my forums, and it works fine on there.

 

here's my site address so you can get some idea what it looks like now - www.fifaworldlive.com

here's my forum address so you can get some idea what it should look like - www.fifaworldlive.com/forums

 

 

Any ideas?

 

Cheers

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.