I would like to share my knowledge to everyone through this blog.
Most of my posts will be some simple tips or codes which became helpful for me while coding.
Mainly the posts will contain code fragments in JSP, Struts2, HTML, CSS , Java Script and J Querry
Wednesday, 8 February 2012
Default paddings and margins
HTML Tags such as table, th, td, h1, h2 etc. are having default paddings and margins, which will create unexpected spacing in some places. for avoiding them we have to add the following lines in to the style like,
if you want the action to be done for a part only, do as follows