View Single Post
Old 03-17-09, 01:47 PM   #37
plenty of work, no games
LovingSticky's Avatar
Join Date: Sep 2007
Posts: 559
Default Re: And the fastest browser is ... IE8 :)

Originally Posted by thor1182 View Post
as the box model of IE has its own set of rules from the others.

Not true. Internet Explorer has "quirks" mode (non-standard) and "standards" mode, triggered by particular DOCTYPE. If you use e.g. this DOCTYPE, box model is the same across IE, FF, Safari and Opera, thus only single CSS is needed:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
or this one:

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' ''>
Hacks are sometimes necessary for IE6 from 2001, if your design is really wild. But most of the time this simple (and W3C valid) "hack" will suffice (being processed by IE6 only), there are no hacks necessary for IE7 and above:

* html CSSCODE {}
Javascript is also not a problem, as jQuery (or Mootools or whatever you prefer) take care of all the differences.

Good webdesigners have it really easy in 2009
Q9550@3.4 + Asus P5Q Premium + 16GB RAM + 2xVelociraptor 300GB + 4xWD Black 1TB RAID-5 on Adaptec 5805 + PoV GTX580 + Dell 3008WFP + Windows 7 x64
Xbox 360 Elite + Kinect + Onkyo receiver + Acoustic Energy Aelite 1/3/center speakers + 46" FullHD Samsung TV
LovingSticky is offline   Reply With Quote