When you use a <p> tag, there is space between paragraphs. Not sure if there is are automatic margins set for the top and bottom, but that's the way it seems. I'm using <p> tags inside a <table> and I'd like the first paragraph to be tight to the top of the cell but the only way I know how to do it is to remove the <p> tags from the first paragraph. I don't really want to do this as I'd like to have the <p> tags around each paragraph. Here is what I have, which btw does exactly what I want it to but as you can see the first set of <p> tags have been removed. What's a better way to get this effect?
I am using <p> tags inside a <table> and I'd like the first paragraph to be touch to the top of the cell but when i use a <p> tag, there is space between paragraphs
Code:
<table cellspacing="5">
<tr>
<td><a href="#">Name</a>
<p><a href="#">Address</a></p></td>
<td>Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.Sample Text.
<p>Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.Sample Text in paragraph.</p>
<p>Please sent any comments to <a href="mailto:email id">email id</a>.</p></td>
</tr>
</table>