You are here: Re: <p> or <br> « HTML « IT news, forums, messages
Re: <p> or <br>

Posted by jojo on 10/09/06 15:59

Andy Dingley 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>?
>
> What's a "space" ? Sounds like a presentation issue, in which case
> don't worry about it in the HTML, leave it to the CSS.
>
> If you <img> is part of the same para as the text, then use <br>
> between them.
>
> If your test is a separate paragraph beneath the image (or above, or
> alongside it) then use <p>...</p> and put the <img> elsewhere.
>
And if you have got a image with some subtitle or description use a
<div> (because it'S no "grammatical paragraph" as andy already said).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация