okay, im licked. ive been trying to get a table to sit in the center of 4 divs that “frame” it.
[code]<!DOCTYPE html
PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title></title>
</head>
<body style=”height: 100%”>
<div id=”outside” style=”border: 1px dashed black; width: 95%; background-color: gray; margin-left: auto; margin-right: auto;”>
<div id=”top” style=”border: 1px solid yellow; background-color: red; height: 5px;”></div>
<div id=”left” style=”border: 1px solid orange; background-color: red; width: 5px; height: 100% float: left”></div>
<div id=”right” style=”border: 1px solid orange; background-color: red; width: 5px; float: right”></div>
<div style=”display: inline; width: 100%”>
<table cellpadding=”0″ cellspacing=”1″ border=”0″ width=”100%” style=”background-color: green”>
<tbody>
<tr>
<td style=”background-color: lightgreen”>cell information</td>
</tr>
<tr>
<td style=”background-color: lightgreen”>cell information</td>
</tr>
<tr>
<td style=”background-color: lightgreen”>cell information</td>
</tr>
<tr>
<td style=”background-color: lightgreen”>cell information</td>
</tr>
</tbody>
</table>
</div>
<div id=”bottom” style=”border: 1px solid yellow; background-color: red; height: 5px;”></div>
</div>
</body>
</html>
that code gets me close, but the left and right divs just arent playing right. i cant get them to be a hieight of 100%, and to get them to force the table to sit between them.
any help? ive included a picture if the description above doesnt help