> In messing with it, if I modify the <body> tag in the html, then this
> works:
> 
> <body style="background-image: url(images/bg.gif);">
> 

When you include it here, the path is relative to the HTML page, so that works.

> 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);

When you include it here, the path is relative to the CSS file (NOT the HTML 
page), so it does not work.

>       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 [cs...@lists.css-discuss.org]
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