"Antoun" wrote in comp.infosystems.
www.authoring.stylesheets:Hello,
Is there a means, with CSS or else, to remove or resize the blank line
after a P ? I've tried margin-bottom, padding-bottom, cell-spacing, and
found nothing !
If you have
<style type="text/css"> p {margin-bottom:0} </style>
....
<p>para 1</p>
<p>para 2</p>
then the you will still see a blank line between paragraphs (in
most browsers) because the default styling in most browsers is
p {margin-top:1em; margin-bottom:1em}
or similar. You see one blank line between, not two, because in CSS
the bottom margin of one element merges with the top margin of teb
next element.
This means that you can't just think about bottom margins, you need
to think about top and bottom margins.
And before you just do
p {margin-top:0; margin-bottom:0}
think abut how readable your text will be if there's no space
between paragraphs. At least you'd want to create a first-line
indent.
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/