A box 300 pixels wide, with 20 pixels of inner padding on each side, is 340 pixels wide in CSS-compliant browsers (300 + 20 pixels on the left + 20 pixels on the right). That's because padding, even though it occurs on the INSIDE of the box, is added to the overall width per the CSS-1 spec.
...
Many web designers who wrestle with CSS have asked why IE and Netscape 6 handle DIVs differently. The answer is, on the Macintosh platform, they don't. IE5/Mac and Netscape 6 (like Opera 5) get the CSS box model right. IE5/Win gets it wrong. In Windows, IE and Netscape differ because Netscape gets the box model right. IE6, I can only dream, will get it right as well.
[Editor: Since this article was initially written and designed, the IE6 beta has been released to the public. It does indeed get the CSS box model right.
--source
I mean bad code exists everywhere....and it's often not noticed due to the overwhelming popularity of IE. The point is that there may now be a reason to check sites in other browsers due to their [god forgive me] market penetration.
« Older Hackers target Cell Phones ... | GeoCities... Newer »
This thread has been archived and is closed to new comments
1) Will AOL actually be pushing Mozilla, the open-source project, or Netscape 6.x, the overly bloated and feature-riddled version? (On a side note, I officially abandoned the latter for the former this weekend, and couldn't be happier.)
2) You're assuming that AOL's 30 million subscribers will immediately upgrade to the new browser simply because AOL is adopting it. Given the limited technical savvy of the average AOL user (read: my grandparents), I would postulate that far fewer existing users will upgrade if their current browser is working "well enough".
posted by Danelope at 9:04 AM on March 11, 2002