Friday, December 29, 2006

Detect Internet Explorer aka IE nag fun

A simple way to deliver content only to Internet Explorer is with the following code : 

<!--[if IE]>
HaHa you're using IE :P

Using this you can insert any code you want anywhere you want into a web page that only Internet Explorer will render.

Microsoft talks about this feature here.

No comments: