Re: Netscape padding vs. IE padding using CSS
by "Darrell King" <darrell(at)webctr.com>
|
|
We are in the process of getting there - which is doublespeak for the fact
that this is not a military operation. It's a free enterprise business
environment. I completely agree that browsers should support the CSS
uniformly and consistently, but it is a voluntary cooperation on their part
and it is governed by business concerns such as development budgets and
marketing constraints.
It's the old half-empty, half-full situation and we should not neglect to
mention the good parts. Much is possible today that was not possible a year
ago. Today's browsers are supporting the bulk of the basic standards and
yesterday's browsers are pretty much history. We are not just dreaming about
cross-platform consistency any longer but rather are actually seeing it
develop!
Also, and this is a fundamental observation that shapes much of my policies,
who ever said that a page is supposed to look the same in opera as it does
in IE? In some things, such as the interpretation of the box model, I do
believe we should have constancy across platforms because it's a simply
formal to be followed. In many other areas, though, there is room for
interpretation and that is just fine. If one manufacturer thinks a certain
interpretation is more attractive than another, then it is totally proper
for their browser to use that version.
Better to be realistic and try for pages that look different, yet still
attractive, from one browser to the next.
D
----- Original Message -----
From: "Mike Taylor" <lonewolf(at)one.net>
(SIGH)
Yet *another* hack to make things work the way they should have in the first
place. The Tantek Box Model is a hack for the box CSS to be rendered
correctly in these browsers. But since it's a hack, it's not valid and
proper CSS, so it won't validate....and if the whole point of all this is to
make sure things validate....well, do I need to go any further?
----- Original Message -----
From: "Tim Rivera" <lists(at)timrivera.com>
> > I've noticed that Netscape seems to add spacing to the total width and
> > height of a DIV if you use the padding attribute. Internet Explorer
doesn't
> > seem to do this.
>
> Actually, IE6 *does* do this when in standards compliance mode. Have you
never
> heard of the faulty IE box model, hence the need for the "Tantek Box Model
> Hack"?
>
> http://www.tantek.com/CSS/Examples/boxmodelhack.html
>
> IE6 renders that example page in standards compliance mode, therefore the
> widths are rendered correctly. If you were to either remove the DTD from
the
> page or add the ?xml prolog, IE6 would go into quirks mode and render the
> boxes as wide as the red line.
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.