programming-examples/html/Table/table_margin.html
2019-11-15 12:59:38 +01:00

25 lines
379 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Html5</title>
<meta charset="UTF-8">
<style type="text/css">
table {width: 250px;border: 1px solid black;
border-collapse: collapse;margin-left: auto;
margin-right: auto;}
td {border: 1px solid black;}
</style>
</head>
<body>
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
</body>
</html>