Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need Help with my Header

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31969
    BeEzy
    Participant

    So my css code for the header is like this

    ul#Navigation {
    height: 353 px;
    width: 924px;
    margin: 0 auto;
    background: url(images/header.png) no-repeat;

    so when I load the site in mozilla firefox the header.png do not appear. I also find the error with firebug so when i load the site the css code is like this

    ul#Navigation {
    background: url("images/header.png") no-repeat scroll 0 0 transparent;
    margin: 0 auto;
    width: 924px;
    }

    I think that the error ist scroll 0 0 transparent; but I just donĀ“t know how to fix it so please can you help me

    #55875
    TheDoc
    Member

    This is incorrect:

    height: 353 px;

    Notice the space between ‘353’ and ‘px’.

    Also, if the image isn’t showing, double check that is where the actual image is located! For example, if your CSS file is in a folder called ‘css’, it’ll be looking for a file located here:

    yourdomain.com/css/images/header.png

    #55879
    BeEzy
    Participant

    Ahhh thank you so much I searched so long for the error your right it was the space between 354 and px shame on me :D so thank you very much your my “hero” ;D

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.