Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: paragraph spacing


Message #1 by "Patrick Mair" <pmair@e...> on Wed, 9 Jan 2002 09:08:33 -0700
Actually, are <p> tags even the right thing to be using?  Would a list 
give me more control of the spacing in between lines?  I tried just using 
<br> after each line but that doesn't give me quite enough space...

> Hi,
> 
> I'm working with some paragraphs, and I want to change the spacing 
between
> them... I defined a style named p2 and set the line height to 0 pixels 
and
> that gave me the spacing I wanted.  But, in doing so it cuts the text on 
the
> first and last paragraphs.
> 
> <p class="p2">Some text 1.</p>
> <p class="p2">Some text 2.</p>
> <p class="p2">Some text 3.</p>
> <p class="p2">Some text 4.</p>
> <p class="p2">Some text 5.</p>
> <p class="p2">Some text 6.</p>
> 
> So lines 1 and 6 show up as half letters.  What should I be doing to 
control
> spacing between paragraphs?
> 
> Patrick
> 

  Return to Index