|
Posted by Mark Parnell on 11/10/60 11:16
Previously in alt.html, tshad <tscheiderich@ftsolutions.com> said:
> It also shows the where the extra space is coming from. Apparently,
> Mozilla is putting space between the paragraph border and the cell border.
> IE doesn't.
Mozilla has a default margin-top and margin-bottom of 1em on paragraphs.
Apparently IE doesn't (at least, not in table cells).
Because different browsers have different defaults for margin and
padding (none are wrong, they are just different), I generally recommend
setting all margins and padding to 0: * {margin: 0; padding: 0;} - then
set it on individual elements as required.
--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
Navigation:
[Reply to this message]
|