Grow your CSS skills. Land your dream job.

Background image in the body tag

  • # April 22, 2008 at 5:01 am

    Hi there

    Been trying my hands at another website using css but im struggling with getting the background image up.
    I’ve been using the sprites technique again for swapping in images for the navigation menu links which is working fine but the background image just doesn’t want to appear.

    Also on different monitors the menu links are not always moving to the right positions, as if there just fixed in one spot. As i’ve been making the website on a 17" monitor i set the top and left pixels to work with this monitor size but when i view it at my work 22" widescreen monitor at work its not positioned where it should be.

    Here is the link to the site that im trying to build:
    [url]
    http://beautifulstudents.net/anthony/[/url]

    and the css:
    [url]
    http://beautifulstudents.net/anthony/style.css[/url]

    Any help is more than welcome

    Benn

    box
    # April 22, 2008 at 8:42 am

    You have a comment in your stylesheet immediately preceding the body element – open that comment properly (add the missing ‘/*’) and you’re stylesheet should render accurately.

    # April 22, 2008 at 8:59 am

    Absolute legend

    Thanks so much. I can’t beleive i mist that how stupid :?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".