Posted by Toby Inkster on 07/15/06 22:19
wolfing1 wrote:
> Are CSS class names case sensitive?
CSS says that they're case sensitive if the document language (i.e. HTML
in this case) is case sensitive. In HTML, element names aren't case-sensitive,
but classes and IDs are.
> Thanks for the suggestions but so far no explanation of why IE would
> not show the background and Firefox would (unless it's in the
> lowercase/camelcase difference that maybe Firefox ignores case and IE
> doesn't?
It seems to depend on quirks mode. Just make sure you're consistent with
cases and you should be OK.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|