Previous Message
Next Message

Taking lowercase rule and running with it

Sent by Rimantas Liubertas on 24 March 2006 05:05


> I know that XHTML tags and attributes are supposed to be written in lowercase
<...>
> but it seems to me the following is perfectly acceptable in a style sheet declaration:
> IMG { border: none; }
<...>
> Or is there really some official prohibition against uppercase in CSS
> declarations that I just don't know about?
<...>

In case of XHTML (serverd as application/xhtml+xml) names of elements
and attributes are case sensative in CSS rules too. That means if you
specify your rules with uppercase
element names they won't apply.

I'd reccomend to read:

http://www.456bereastreet.com/archive/200501/the_perils_of_using_xhtml_properly/
http://lachy.id.au/log/2005/12/xhtml-beginners

Regards,
Rimantas
--
http://rimantas.com/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: