On 07/08/06, juliann wheeler <[EMAIL PROTECTED]> wrote:
>
> IE is changing the layout of my site dramatically (compared to Firefox).
> Since most of my viewers for this wite will probably be in IE I am
> thinking
> about changing all of the positioning so that it looks correct in
> IE.  BUT,
> doing this this will make the page all look bad in Firefox.
>
> Is there any way to make your pages default to a different style sheet
> depending on the browser that the viewer is looking at the site in?
>
>
> There is. Look into IE conditional comments (Microsoft-proprietary
> comments but pretty harmless). Also, it is a good idea to build up your
> design slowly, testing in all browsers, so you don't find a nasty surprise
> at the end and grasp for hacks and filters, which should be used sparingly.



Here is an example comment that serves pages to IE5/5.5 for example:

<!-- [le IE6]
style info
-->




-- 
http://www.web-buddha.co.uk
http://www.projectkarma.co.uk
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to