
August 28th, 2005, 06:46 AM
|
|
|
|
Join Date: Apr 2007
Location: Škofja Loka, Slovenia, EU
Posts: 47
Time spent in forums: 7 m 49 sec
Reputation Power: 2
|
|
|
[css] Problem inserting table into div element
I have this css layout, that was made with this generator:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="http://www.inknoise.com/experimental/layoutomatic.php" /> <style type="text/css">
#container {
width: 760px;
width: 780px;
width: 760px;
border: 1px solid gray;
margin: 10px;
margin-left: auto;
margin-right: auto;
padding: 10px;
}
#banner {
padding: 5px;
margin-bottom: 5px;
background-color: rgb(213, 219, 225);
}
#content {
padding: 5px;
margin-left: 215px;
background-color: gray;
}
#sidebar-a {
float: left;
width: 200px;
width: 210px;
width: 200px;
margin: 0;
margin-right: 5px;
padding: 5px;
background-color: rgb(235, 235, 235);
}
#footer {
clear: both;
padding: 5px;
margin-top: 5px;
background-color: rgb(213, 219, 225);
}
</style>
</head>
<body>
<div id="container">
<div id="banner"> </div>
<div id="sidebar-a"> </div>
<div id="content"> </div>
<div id="footer"> </div>
</div>
</body>
</html>
Problem appears(IN IE ONLY!!), when I want to insert a table into a div #content. This happens:
Please help. Thanks!
|