Log in

View Full Version : Is CSS case sensitive?



ashiselma
08-27-2014, 04:26 PM
Is CSS case sensitive?

singhabhishek25
08-28-2014, 02:20 AM
The class and id names are case sensitive else codes are not case sensitive. For the example class="First" and class="first" are two different class but font-size and FONT-SIZE acts as same.

rehal
08-28-2014, 03:28 AM
CSS IDs and classes are definitely case sensitive. WinIE 5.x does this wrong (ignores case), but WinIE 6 fixed it. All the standard-compliant browsers (FF, Moz, Safari, Opera) are case sensitive.

webcreations
08-29-2014, 05:09 AM
CSS is not case sensitive in most respects except when comes to class and id attributes.

maxi007
09-05-2014, 02:34 PM
yes its case sensetive