Dynadot

HTML Paragraph spacing

Spaceship Spaceship
Watch
Impact
2
Hey, just wondering if anyone knows why there is a large gap between paragraphs when using <p></p> is there a way to stop this?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Don't think so, unless you use another type of spacing like <br> or empty cell.
 
0
•••
hmmmm how would i assign CSS classes to areas?
 
0
•••
Bahhh. Of course you can stop the space with <p>s. Just add this code in your <head> tag:

<style type="text/css">
<!--
p { margin: 0px; }
-->
</style>

Or, if it's an individual <p> you want to make margin-free:

<p style="margin: 0px;">Para 1, blah, lorem ipsum, etc...</p>
<p style="margin: 0px;">Para 2, blah, lorem ipsum, etc...</p>

Assign CSS classes to areas? As in the <area> tag? or.. what?
 
0
•••
Thankyou soooo much! you LEGEND :D :D :D :D :D

Thanks!!!!

-wildchild-
 
0
•••
Feel free to give me rep if the post was helpful ;)
 
0
•••
0
•••
reputation.gif
< Click the icon like that, on the left, under my name. Then choose approve, and leave a nice note :)
 
0
•••
done
thanks again

-WildChild-
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back