Posted by josh on 07/28/06 03:41
rathernots@googlemail.com wrote:
> Hi! I can't believe this simple issue hasn't been raised before:
>
> Create a new html document, in the body, type:
>
> <p>TEST1<br><br></p>TEST2
>
> IE will create a small amount of white space between the two lines,
> while gecko will place quite a lot more.
>
> Question: how can this be controled via CSS? I tried and tried and
> eventually gave up.
>
> TIA!
Try zeroing the margin and padding
p {
margin: 0;
padding: 0;
}
Navigation:
[Reply to this message]
|