How to use "if clause" in xhtml?

Posted by Mehmet Kaleli on Stack Overflow See other posts from Stack Overflow or by Mehmet Kaleli
Published on 2010-03-17T20:21:40Z Indexed on 2010/03/17 20:31 UTC
Read the original article Hit count: 312

Filed under:
|
|

Hi , i am a newbie C# Programmer. I have a problem in xhtml. I want to check that if browser is IE6 or not. For example if ie6 then div id="div1" style="display:block;" else div id="div1" style="display:none;"> How can i control my browser and use if clause in xhtml?

© Stack Overflow or respective owner

Related posts about XHTML

Related posts about if