Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css case sensitivity [duplicate]

Tags:

css

Possible Duplicate:
Are class names in CSS selectors case sensitive?

In my application am using css classname for styling. But while viewing in the browser the class name applied also css also attached but style was not applied because of case sensitive difference with both in tagclass name and in css classname. How to resolve this?

Thanks

like image 831
john Avatar asked Nov 20 '09 06:11

john


2 Answers

Whilst CSS is not case sensitive, class names are defined as case sensitive in HTML 4.01, so some browsers (particularly Netscape 6, apparently) may well implement it as such.

like image 181
Owen Blacker Avatar answered Nov 15 '22 07:11

Owen Blacker


CSS is not case sensistive, but urls and font-families may be.

like image 42
Anton Rudeshko Avatar answered Nov 15 '22 08:11

Anton Rudeshko