Jineeshjohn’s Blog

Creating a thin border around td in html table using css

Posted on: November 12, 2009

There is two ways to create a thin border for Html table td’s.

Solution 1:
Using border collapse

table td {
	border:1px solid #000;

Solution 2:

Applying the css border properties for table and td

	border-top:1px solid #000;
	border-left:1px solid #000;
table td {
	border-right:1px solid #000;
	border-bottom:1px solid #000;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


  • None
  • No comments yet


%d bloggers like this: