What are cons if we use javascript to apply css selectors to that browser who do not support that pr

Posted by metal-gear-solid on Stack Overflow See other posts from Stack Overflow or by metal-gear-solid
Published on 2010-05-15T01:18:20Z Indexed on 2010/05/15 1:54 UTC
Read the original article Hit count: 303

Filed under:
|
|
|

What are cons if we use JavaScript to apply only CSS property/selectors to that browser who do not support that property by default? to keep my HTML semantic and keep free from Deprecated HTML.

Is it against content, style and Behavior separation?

If I make accessible site then should i only use whatever i can do with pure css. shouldn't use JavaScript to apply CSS properties.

I know those css properties which I'm applying through javascript will not work if javascript is disabled. then due to this reason shouldn't use javascript to apply css never.

I'm talking about using these type of stuffs

http://www.fetchak.com/ie-css3/

http://code.google.com/p/ie7-js/

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css