Leosquarez – Website Design and Development

Website Design and Development

ie6All the web developer will agree with me saying that Internet Explorer is always the difficult browser from all the designer with.

A good web designer should test anything before resided on web with all the most recent browser (firefox safari crome opera… ect..)
and of course he should check in Internet Explorer in all the version.

While the modern (and much better) browser like firefox, crome, safari try to let you install all the times the new version, and with new version means a version that improve but still respect the HTML and CSS reading.
IE is popular for complete different view of the page for a different version of the Browser

IE in the last few years release different version of the browser, most popular IE6, IE7 and IE8, but the are complete different each other in displaying a page.

The biggest different in the different version are stuff like:

  • margin and padding (especially in list like UL, OL  and DL)
  • Alignment
  • Position
  • Float

So is a good trick to create a separate CSS for IE6 and most of the times for IE7 as well

to do that you just create a now css file and in the <head> tag specify a condition:
<!–[if IE]>
According to the conditional comment this is Internet Explorer
<![endif]–>
<!–[if IE 6]>
According to the conditional comment this is Internet Explorer 6
<![endif]–>
<!–[if IE 6]>
According to the conditional comment this is Internet Explorer 6
<![endif]–>
<!–[if IE 7]>
According to the conditional comment this is Internet Explorer 7
<![endif]–>
<!–[if gte IE 5]>
According to the conditional comment this is Internet Explorer 5 and up
<![endif]–>
<!–[if lt IE 8]>
According to the conditional comment this is Internet Explorer lower than 8
<![endif]–>
<!–[if lte IE 5.5]>
According to the conditional comment this is Internet Explorer lower or equal to 5.5
<![endif]–>
<!–[if gt IE 6]>
According to the conditional comment this is Internet Explorer greater than 6
<![endif]–>

Some designer check for IE5, but i believe is to small the percent how still does have this browser.
But how think IE 6 is not so common any more just check these data:

http://www.w3schools.com/browsers/browsers_stats.asp

www.w3schools.com-screen-capture-2009-11-2-18-4-8

www.w3schools.com-screen-capture-2009-11-2-18-4-8

Popularity: 5% [?]

Posted by leosquarez On November - 2 - 2009 Condition EI6

Subscribe here

VIDEO

TAG CLOUD