IE6 vs Everything else!

This is a discussion on "IE6 vs Everything else!" within the Web Page Design section. This forum, and the thread "IE6 vs Everything else! are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Sep 19th, 2007, 10:26
Up'n'Coming Member
Join Date: Nov 2006
Location: Ipswich
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
IE6 vs Everything else!

So I code up my websites by hand using HTML strict and CSS. Test them in IE7 and Firefox - everything looks ok.

Upload them to the server, come to work (where we have IE6) and have a look. Generally they look awful.

Problem is that, according to stats, over a third of internet users still use IE6.

How do people "get around" the rendering of IE6? Is there a simple hack, or is it a case of seperate stylesheets?

any advice much appreciated - as always.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Sep 19th, 2007, 11:37
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 vs Everything else!

I usually just have to make small changes to my existing stylesheet. Often it's just a matter of 1 or 2 pixels decrease to make things fit.

On complete navigations, I usually use a separate stylesheet.

I suppose you have to take it on a site by site basis. Anymore than 1 or 2 adjustments and I'd probably make a separate ss.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Sep 19th, 2007, 15:28
New Member
Join Date: Sep 2007
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 vs Everything else!

Because IE 6 is so very different from IE 7 and Firefox its generally better to use a seperate stylesheet rather than try to bodge it into working.

You can do this in the following way:

Code: Select all
 
<link rel="stylesheet" href="m.css" type="text/css" media="all">
<link rel="stylesheet" href="p.css" type="text/css" media="print">
<!--[if IE 6]>
 <link rel="stylesheet" type="text/css" href="ie6.0.css">
<![endif]-->
Notice that my main CSS file is called "m.css" and my print style is called "p.css".

But in order to get some elements working in IE 6 I had to use a seperate stylesheet. The third stylesheet on the page; "ie6.0.css" contains only items specific for IE 6 the comment code around the link tag prevents that stylesheet from being used by any browser other than IE 6.

I hope this helps.

Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Sep 19th, 2007, 15:34
Up'n'Coming Member
Join Date: Nov 2006
Location: Ipswich
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 vs Everything else!

Thanks Chris, would you use the "less than or equal to" indicator [if lte IE 6] or do prior versions of IE render more correctly than IE 6?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42