Jump to content

why isn't my background image showing?


2handband

Recommended Posts

I've created a background image for the header div in the site I'm creating. Here's the css for the image:

 

.bgimage {
      background-attachment: fixed;
      background-image: url (images/marshallWall.png) ;
      background-repeat: no-repeat;
      visibility: visible;
}

 

And in the html:

 

<div id="header" class="bgimage">

 

And yes, the image itself is in the proper directory. But the image stubbornly refuses to be visible on the page. What am I doing wrong?

Link to comment
Share on other sites

  • 11 months later...

Did you check the "Repeat background" box below the Background Image bit (where the Browse button appears?).It might have appeared hidden behind the frame of your channel layout?or Unless the directory images is a subdirectory of css, you need to use url(../images/background.gif) as the location is relative to the css file.

Link to comment
Share on other sites

Did you check the "Repeat background" box below the Background Image bit (where the Browse button appears?).It might have appeared hidden behind the frame of your channel layout?or Unless the directory images is a subdirectory of css, you need to use url(../images/background.gif) as the location is relative to the css file.

 

No idea what you mean by 'repeat background box' or 'frame of your channel layout'.... but the OP posted his question almost a year ago, and it appears that the problem was corrected by Eddie within the hour.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...