|
Posted by Steve Pugh on 10/09/06 14:30
Jim Scott wrote:
> On my site, which is almost all pictures with text, using <br> avoids a space
> appearing between the text and the picture or is that because I use </p>?
Most browsers give top and bottom margins to paragraphs. So <p>...</p>
will have some white space before and after it.
You can suggest that the margins be zero size via CSS, so if it is
logically a paragraph but you don't want the white space, use
<p>...</p> and set the margins to zero in CSS. But if it is not
logically a paragraph don't use <p>...</p>.
Steve
Navigation:
[Reply to this message]
|