日期:2014-05-17  浏览次数:20622 次

css-表格相关属性
<html>
<head>
<title>this is a  test</title>
</head>
<style>
	table {
		width:600px;
		height:200px;		
		border:1px solid red;
	}
	
	table td{
	    border:1px solid green;
	}
</style>
<body>
	 <table>
	    <tr><td>1</td><td>2</td></tr>
	    <tr><td>3</td><td>4</td></tr>
	    <tr><td>5</td><td>6</td></tr>
	 </table>
</body>
</html>