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:

Valid CSS information BODY { background-color : #0e7aef; color : white; font-family : sans-serif; background : url(images/vbc.jpg) no-repeat fixed top right; }

HOWEVER, I believe the standard form is:
body {background-image: url(./gfx/ban_btm.jpg);background-repeat: repeat-x;}

...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.


In reply to Re^5: cgi and css, body tag not recognize by ww
in thread cgi and css, body tag not recognize by yvan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.