Code: Select all
<?xml-stylesheet href="#internalStyle" type="text/css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style type="text/css" id="internalStyle">
body {
margin: 0px;
padding: 0px;
}
#container {
width: 100%;
height: 100%; /* Resized using javascript? */
background-color: red;
}
#panel {
width: 100%;
height: 100%;
margin-right: 10px;
background-color: green;
}
</style>
</head>
<body>
<div id="container">
<div id="panel">
Content
</div>
</div>
</body>
</html>
So...
I changed approach:
I embed one DIV inside the other, setting the container DIV width to 100% as well as the embeded DIV, but I also set the embeded DIV margin-right to 10px hoping I could emulate TD using this approach...
Works in IE but not Opera or FF???
WTF...is that ever annoying
Anyone have any suggestions???