I have been trying to convert the following simple table into CSS.
<table>
<tr><th colspan=2>Heade r Area</th></tr>
<tr><th>Navigat ion Area</th><th>Informat ion Area</th></tr>
<tr><th colspan=2>Foote r Area</th></tr>
</table>
|============== ===========|
| Header Area |
|============== ===========|
| Navigation Area | Information Area |
|============== ===========|
| Footer Area |
|============== ===========|
Here's what I have so far.
I figured I would need a div for containing the entire page so I called it
Document. I also needed a div for holding the Navigation and Information
Areas. I called this Body. I haven't been able to figure out the rest.
<html>
<head>
<title>CSS Sample Table</title>
<style type="text/css">
<!--
div.document {width:700px;le ft:10px;top:10p x}
div.header {width:700px}
div.body {width:700px}
div.navigation {width:200px}
div.information {width:500px}
div.footer {width:700px}
//-->
</style>
</head>
<body>
<div class="document ">
<div class="header"> Header Area</div>
<div class=body>
<div class="navigati on">Navigatio n Area</div>
<div class="informat ion">Informatio n Area</div>
</div>
<div class="footer"> Footer Area</div>
</div
</body>
</html>
Thanks for your help!
<table>
<tr><th colspan=2>Heade r Area</th></tr>
<tr><th>Navigat ion Area</th><th>Informat ion Area</th></tr>
<tr><th colspan=2>Foote r Area</th></tr>
</table>
|============== ===========|
| Header Area |
|============== ===========|
| Navigation Area | Information Area |
|============== ===========|
| Footer Area |
|============== ===========|
Here's what I have so far.
I figured I would need a div for containing the entire page so I called it
Document. I also needed a div for holding the Navigation and Information
Areas. I called this Body. I haven't been able to figure out the rest.
<html>
<head>
<title>CSS Sample Table</title>
<style type="text/css">
<!--
div.document {width:700px;le ft:10px;top:10p x}
div.header {width:700px}
div.body {width:700px}
div.navigation {width:200px}
div.information {width:500px}
div.footer {width:700px}
//-->
</style>
</head>
<body>
<div class="document ">
<div class="header"> Header Area</div>
<div class=body>
<div class="navigati on">Navigatio n Area</div>
<div class="informat ion">Informatio n Area</div>
</div>
<div class="footer"> Footer Area</div>
</div
</body>
</html>
Thanks for your help!
Comment