Posted by Jukka K. Korpela on 07/11/07 10:21
Scripsit marss:
> <hr style="height:1px"/> does not fit because although a line looks
> like it has 1 pixel with but there are empty spaces above and below
> line.
You might be able to affect the situation by adding CSS rules for margins
etc., but the problem is that the default rendering of HR elements has not
been defined in CSS terms. Different browsers interpret HR elements
differently.
The simple way is to set a bottom or top border for some "real" element,
e.g.
<div style="border-top: solid 1px black">...</div>
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|