FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Cellpadding of single cell

 


Scott
Is it possible to give a single cell in a table a certain amount of cellpadding? If so, how?

That's all, thanks!
dandelion
You can set padding of the separate td element with the style attribute as shown below.
Code:
<table>
<tr>
<td style="padding: 16px">Cell 1</td>
<td style="padding: 1em">Cell 2</td>
<td style="padding: 10%">Cell 3</td>
</tr>
</table>
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.