Needless to say it's pretty ugly looking and I can't seem to figure out nested tables. Tables themselves are easy, but not this way. Could someone explain to me what I'm doing wrong or even point me to something that helped you?
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vertical Home Page</title>
<meta charset="utf-8">
<link href="tables.css" rel="stylesheet" />
</head>
<style>
#newTable{
width: 350px;
}
#newTable td {
height: 75px;
border-collapse: 1px;
}
</style>
<body>
<!-- This nested table I just couldn't figure out for the life of me -->
<h2>5) – Nested Table</h2>
<table id="newTable">
<tr>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<td colspan="2">
<table id="nestedTable">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
</table>
<br />
</body>
</html>

New Topic/Question
Reply



MultiQuote




|