How to use if else condition to change doctype according to the browser in html file.?

Posted by Tushar Ahirrao on Stack Overflow See other posts from Stack Overflow or by Tushar Ahirrao
Published on 2010-01-18T15:24:09Z Indexed on 2010/05/02 14:08 UTC
Read the original article Hit count: 213

Filed under:

Hi ; We are working on :hover pseudo-class in IE 7, which works only if the docktype is

< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">

,but it decrement the font size of all element

please help me ..

© Stack Overflow or respective owner

Related posts about html