Сообщение от dotwatt
|
Как его расположить посредине?
|
Как вариант...
<!DOCTYPE html>
<html>
<head>
<!--
<script src="http://code.jquery.com/jquery-latest.js"></script>
<link rel="stylesheet" type="text/css" href="tmp.css" />
-->
<style type="text/css">
table {
width: 100%;
margin: 0;
padding: 0;
border-spacing: 0;
}
.row_a {
background: #eee;
height: 30px;
}
.row_b {
background: #ddd;
height: 30px;
}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<table>
<tr>
<td class="row_a"><p>this is td number 1</p></td>
</tr>
<tr>
<td class="row_b"><p>this is td number 2</p></td>
</tr>
<tr>
<td class="row_a"><p>this is td number 3</p></td>
</tr>
<tr>
<td class="row_b"><p>this is td number 4</p></td>
</tr>
<tr>
<td class="row_a"><p>this is td number 5</p></td>
</tr>
</table>
</body>
</html>