...

View Full Version : Selective-Show Div Element



authorandrew
06-29-2010, 04:43 PM
Here's the deal...I'm trying to learn how to make a certain <div> element on my website only show up when the user is using a browser that is old or doesn't support certain techniques on my site.

Since the site is experimental, I'm not worried about losing users. What I want is a way to show a box that encourages users to upgrade, but ONLY if they are using a browser such as IE6, IE7, IE5, or any other that doesn't support shadows, rounded corners, and transparency.

Any help would be appreciated!

aa

skywalker2208
06-29-2010, 04:50 PM
You could use css conditional comments.
http://www.positioniseverything.net/articles/cc-plus.html

authorandrew
07-01-2010, 04:55 AM
Thanks! I checked that out and it worked great. Is there by any chance a way to do that for old Firefox versions and Opera versions?

aa



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum