rgb192
asked on
is there a <p> height
want to set all p to same height
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your <p> height will be determined by the pitch and kern of the font. You can set:
If your margins are all 10 px then change your .p to this:
.p
{
margin-left: 10px;
margin-right: 10px;
margin-top: 30px;
margin-bottom: 30px;
}
If your margins are all 10 px then change your .p to this:
.p
{
margin: 10px;
}
I think there is even spacing you can apply. CSS is extremely powerful find this on the web shouldn't take you a monumental effort.
ASKER
first answer of no
however, a P tag will automatically wrap text to boundary width so if you have one word too many, it will wrap to a new line, that will then make your paragraphs uneven heights.
To help combat this you may need to add "word-spacing:*pt" parameters in for each paragraph depending on their wrapping.
...
short of that, i'm all out of ideas