da**************@gmail.com (Dave) wrote:
How is it possible to reduce the space between a pargraph and a horizontal
line (top and bottom). It doesn´t look so good if there is the default
space.
A horizontal rule (<hr>) doesn't default to have any spacing
The correct phrase is margins. And a hr does have default margins in all
UAs I know.
For the OP: first consider not messing with the default margins, they
are there for a reason.
Note that once you start messing with default margins you can easily get
into a quagmire and you could end up with having to specify margins far
more often than you should.
If you absolutely must you may need to set margins on both the
paragraph and the hr, read up on the phenomena of collapsing margins
first. Note that a common problem is that IE does not allow the margins
on hr's to be set below a certain value.
--
Spartanicus