You are here: text and <p> « HTML « IT news, forums, messages
text and <p>

Posted by Clues on 01/31/11 11:44

Hi,
I must separate some text blocks.

I started by doing the following:

<p>
texttxtxtxtxtxtxtxtxtxtxtxtx<br />
texttxtxtxtxtxtxtxtxtxtxtxtx
</p>

and using a CSS to style <br />

#content br {margin: 0; padding: 0; border-width: 0; line-height: 2em;}
but I was unhappy with the result.


The question:
in XHTML, is it legal to do something like this:

<div>
<p>textxtxtxtxtxtxtxtxt</p>
<p>tetxtxtxtxtxtxttxtxtx</p>
</div>

?

I thank you very much.
Clues

 

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

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