• cyberscientist

    (@cyberscientist)


    Hi all
    I have read this in other posts, but the solution from them isn’t working for me.
    Here is the CSS I am trying to use:`
    body {
    background-image: url(images/homeImg.jpg);
    background-repeat: no-repeat;
    background-position: center top fixed;
    line-height:normal;
    }`
    This CSS isnt loading the background picture.
    The image is in that path, and its spelling is correct.
    any help?
    thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Unless we can see the site, we can’t help.

    Thread Starter cyberscientist

    (@cyberscientist)

    sorry;
    ebadian.net/CS/
    here is what is it suppose to look like
    http://turly.co.uk/cs/
    thanks

    esmi

    (@esmi)

    I can see that image on your site.

    Thread Starter cyberscientist

    (@cyberscientist)

    You can see the background image on both sites??
    ebadian.net/CS/ is the one I am working on.
    Its the
    body {background-image: url(images/homeImg.jpg);} which is the problem.
    not the logo.
    thanks

    esmi

    (@esmi)

    ebadian.net/CS/ just shows the logo.

    Thread Starter cyberscientist

    (@cyberscientist)

    Ok esmi
    That is the problem.
    In my CSS I have the code

    body {
    background-image: url(images/homeImg.jpg);
    background-repeat: no-repeat;
    background-position: center top fixed;
    line-height:normal;
    }

    homeImg.jpg which should show up as the background, is not displaying at all.
    as you can see in my css i have specified the url for the backgorund image.
    What i am asking is that why is the CSS not showing the image.
    thanks

    esmi

    (@esmi)

    On which site?

    Thread Starter cyberscientist

    (@cyberscientist)

    ebadian.net/CS/

    esmi

    (@esmi)

    You need to start by removing the background declaration in:

    body {
        background:#FFFFFF;
        color: #455560;
        font-family: "Helvetica",Arial,Helvetica,sans-serif;
        font-size: 13px;
        padding-bottom: 10px;
    }

    masterHome.css

    Thread Starter cyberscientist

    (@cyberscientist)

    ok, then how do I get the CSS to display the background image?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘CSS url imge not working’ is closed to new replies.