We have four types of padding available in html. Check the following html code for padding.
<tr valign="top" align="top">
<td valign="top" style="padding-top: 25px;padding-left: 50px;padding-bottom: 20px;padding-right:30px;">
</td>
</tr>
I have seen codes where developers used so many to get the desire location in html page.This can be easily avoided by using padding concept inside.
We have four types of padding available in html. Check the following html code for padding.
<tr valign="top" align="top">
<td valign="top" style="padding-top: 25px;padding-left: 50px;padding-bottom: 20px;padding-right:30px;">
</td>
</tr>
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 250 SHARP for every blog they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · ASP.NETASP.NET Tags in Web Forms: The Complete GuideDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
SenthilkumarPosted Sep 7, 2009, 2:24 AM EDT
I think if there is need like to set all the paddings then we can give like that. padding: 5px 4px 5px 3px So we can save little bit size of the code as well as development time. Thanks and Regards, Erode senthilkumar