|
Posted by Ben C on 07/07/07 14:26
On 2007-07-07, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Scripsit Ben C:
>
>> Firefox in quirks mode gives form a bottom margin of about 0.5em.
>
> That's an interesting observation to be added to my little page on what may
> happen in Quirks Mode, http://www.cs.tut.fi/~jkorpela/quirks-mode.html
>
> But on my Firefox 2, under Win XP, the margin appears to be rather exactly
> 1em. Actually, that's the value set at the end of the CSS file that
> purportedly describes many of the features of Quirks Mode in Firefox:
>
> /* Quirk: give form margin for compat (b=41806) */
> form{
> margin: 0 0 1em 0;
> }
Yes, you're right it is 1em. While investigating it the first time,
Firebug showed the "computed style" to be 15px, but increasing the font
size increased the margin, and after a bit of trial and error it seemed
to be 1em.
I did make a note of it but couldn't remember what it was which is why I
said "about 0.5em".
> ( http://lxr.mozilla.org/seamonkey/source/layout/style/quirk.css )
Thanks for the link.
Navigation:
[Reply to this message]
|