Basic (LW) wrote:
> According to this bug report:
> http://bugzilla.mozilla.org/show_bug.cgi?id=60325
> <hr> is affected by the font-size attribute in Mozilla. You could reduce
> the whitespace by adding a font-size of 1px, but there is still some
> whitespace.
> It seems that mozilla gives hr extra padding/margin of .5em on top and
> bottom. if you do a
> margin-top: -.5em;
> margin-bottom: -.5em;
> the margins go away.
>
> According to this bug report:
> http://bugzilla.mozilla.org/show_bug.cgi?id=2590
> There was a suggestion to make <hr> like an empty <div>. If it is
> suppost to be an empty <div>, setting margin: 0; should work. I guess
> there is still some hard-coded stuff for this element.
I've seen a number of <HR> related bug reports, but not one that actually referenced
hard-coded
whitespace above and below, and using style alterations based on a possibly buggy
state would be
an amazingly bad idea.
I was looking to see if there was an actual reason why this hard-coded whitespace was
created in
the first place before I consider creating a bug report. Since CSS and layout are so
full of
cryptic exceptions, I thought it wise to find out if it is actually a bug or not.
"If it looks like a bug, acts like a bug, and squishes like a bug, ..." (yeah, but the
<HR>
won't squish all the way <snicker>)
--
The Snake Pit - Development www.TheSnakePitDev.com
Curtis Clauson [EMAIL PROTECTED]
Proprietor
(Please respond to the newsgroup. To email me, use the above address.)