View Single Post
  #2 (permalink)  
Old April 4th, 2010, 05:35 PM
PeterPeiGuo PeterPeiGuo is offline
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

here is a simplest example, and there are lots that you can do with CSS:
Code:
<html>
<head>
<style>
table {
	border-style:outset;
	border-width:1px;
	border-color:red;
	border-spacing: 0px;
}
td {
	border-style:outset;
	border-color:red;
	border-width: 1px;
	padding: 10px;
}
</style>
</head>
<body>
<table>
<tr><td>foo</td><td>foo</td><td>foo</td></tr>
<tr><td>foo</td><td>foo</td><td>foo</td></tr>
<tr><td>foo</td><td>foo</td><td>foo</td></tr>
</table>
</body>
</html>
Reply With Quote