Tim Snadden wrote:


All paths are relative to the CSS file. To go up a directory use '..'. So...

url(../images/bg.gif)


Tim, thanks for that. You and another person that mailed me directly said the same thing, so I suspect you are correct.

Unfortunately it doesn't seem to work for me - I might be messing up something else.

In messing with it, if I modify the <body> tag in the html, then this works:

<body style="background-image: url(images/bg.gif);">

Since I include the css sheet in the same level, I would have thought the CSS should resolve similarly and that

body {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        background-image: url(images/bg.gif);
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        background-color: #001040;
        margin: 0px;
        color: #202060;
}

Should work, but that was a fail as well.

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to