Hey all, Recently been working on a website which now looks REALLY good in FF and Chrome however in IE it looks absolutely terrible... is it possible to make it so anyone who goes to the site on Internet explorer is automatically taken elsewhere? like a new directory?

Thanks

Recommended Answers

You can sniff browsers and use a header() to relocate - AS long as there's no output prior to that.

http://php.net/manual/en/function.get-browser.php

However, have you thought about usign conditional comments?

Jump to Post

All 3 Replies

you have to use diffrent css for IE and can use diffrent css class for example

<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->

Thanks for the responses. The whole reason behind relocating is because there is already a website for internet explorer users...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.