in reply to Re^4: cgi and css, body tag not recognize
in thread cgi and css, body tag not recognize
Aside from the capitalization in the css, already mentioned, it appears to me that your background-image is correct. Fuji doesn't object, in any case, to the single line, and blesses whole body section:
HOWEVER, I believe the standard form is:Valid CSS information BODY { background-color : #0e7aef; color : white; font-family : sans-serif; background : url(images/vbc.jpg) no-repeat fixed top right; }
...at least, that passes both the w3c html and css validators for me... and another of each, run locally. It also gives no offense to htmlTIDY
w3c, for example, reports: W3C CSS Validator Results for file://localhost/TextArea Valid CSS information body { background-image : url(./gfx/ban_btm.jpg); background-repeat : repeat-x; }Now, if I am correct, your
background: url(images/vbc.jpg) no-repeat fixed top right;could, conceivably, be masking the background-color declaration above, in a non-compliant browser.
Be it noted, I believe essentially ALL browsers are non-compliant to some extent or another -- even Amaya and other supposedly "gold-standard" browsers, developed not so much for real-world use, as for testing.With that bias of mine in mind, you might try sticking that background in one of your existing <div>s... and see what happens to that. In fact, it might be instructive to try the variation of locating it at several different lines of the style declaration.
If you opt for this, please tell us what happens... and with (also already mentioned), which browser?
Update: Oops. Fixed spelling of "Fuji" and UNborked my </tt>...</tt> in first line of this node.
|
|---|