Andrew C. Johnston wrote:

When the site was converted, I hacked out one piece of code, which served to
allow the header image to effectively span the entire width of the browser,
improving the look tremendously in my view, but causing errors in ie:

<!--
body {
     margin-top: 0px;
     background-color: #EAEAEA;
     background-image: url(http://www.rayxi.com/assets/images/bg2.gif);
     background-repeat: repeat-x;
}
-->

The site now validates, and I went back to this issue recently, it turns out
this css comes first, right before the javascript starts, and before the css
stylesheet is called.  It doesn't work at all if put in the stylesheet, for me
at least.

Is it /possible/ that, when trying to transfer it to the stylesheet,
you left in the HTML comments markers :

        <!--

                and
        
        -->

If so, these should be omitted when inserting the remainder
in a valid CSS file.

Philip Taylor
______________________________________________________________________
css-discuss [css-d@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