IE7: Using Conditional Statements to Detect and Display Browser Specific HTML

Contributor Icon Contributed by MickeyMouse  
Tag Icon Tagged: HTML  

Using conditional statements you can display certain html to one browser and other html to other browsers. This shows you how to do this for Internet Explorer 7 and Internet Explorer 7 beta.


To dodge some of the quirks of the different browsers, one can use conditional statements to cause only certain browsers to see certain code. For example, maybe you want to tell certain users that you do not support their browser.

By using conditional statements, you can do this.

This shows you how to select for IE7 and IE7 beta:

 

1 Comment -


  1. Ervin Avendano said on January 6, 2011

    It would have been nice to include some examples.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -