In article <[EMAIL PROTECTED]>, Adam Olejniczak
<[EMAIL PROTECTED]> wrote:
> "-//W3C//DTD HTML 4.01 Transitional//PL"
^^
I think the language code is supposed to refer to the language in which
the spec for the document type is written (in this case English) and not
the language of the document.
> there are 2 images one under other and notice then right now there is no
> space between them
> but when you uncommend the header to make the page HTML4.01 compatible
> and you will reload the page
> you will see that the spaces between images !?
>
> and the question is qhy it is so ?
It is due to the defaults specified in CSS2. Links to the relevant parts
of the spec are here:
http://www.hut.fi/u/hsivonen/standards.html#lineboxmodel
> and if it's a bug ?
It is not a bug in Mozilla. However, one might argue the defaults in the
spec are suboptimal.
This seems to be the number one issue people complain about when they
start working with Mozilla's standard layout mode.
I can come up with three alternative courses of action:
1) No change.
Pros: No need to alter the standards. No need to change Mozilla.
Cons: The initial behavior doesn't match the expectations of most
authors, but overriding the default is trivial once the author is aware
of how to do it. Microsoft has taken a path similar to option #2 with IE
5 for Mac and may do so with IE 6 for Windows, too. This makes it appear
like Mozilla had a problem.
2) Submitting the issue for review in the CSS WG in order to change the
defaults in CSS3.
Pros: Problem solved.
Cons: The same overriding of the default would be needed if one wanted
to support browsers that have already shipped with the CSS2 defaults.
3) Fixing the problem in the UA style sheet of Mozilla:
Pros: Problem solved in the context of Mozilla.
Cons: Effective defaults would differ from the default of the spec. The
same overriding of the default would be needed if one wanted to support
browsers that have already shipped with the CSS2 defaults.
--
Henri Sivonen
[EMAIL PROTECTED]
http://www.clinet.fi/~henris/