I recently came across two niggling CSS errors:

1)
        body { background: url('image.gif')no-repeat top }

Here, the coder has left no whitespace after the URL in the shorthand
"background" declaration.

Firefox is OK with it, IE doesn't display the image.

2)
        #right navbar {width:400px;}

Here the coder meant #right_navbar but missed the underscore. Obviously
it doesn't work.

The thing is, the W3 CSS validator passes them both. It even *fixes* the
missing space in the first example and displays it like this:

    body {
      background : url('image.gif') no-repeat top;
    }

The second case is a little more complex, because logically, anything
which isn't a class or an id should be an HTML tag. And there's no HTML
tag "navbar". Yet. So that can't be valid CSS for any valid HTML
document.

Should I report this to someone?

==============================================================================
The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material.   It is intended only for
the use of the addressee(s).  If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments.  If you have received this message in error, please notify the
sender immediately and delete this email from your system.  The ABC does not
represent or warrant that this transmission is secure or virus free.   Before
opening any attachment you should check for viruses.  The ABC's liability is
limited to resupplying any email and attachments
==============================================================================


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to