This is how my page look, and anybody can notice that it's not rendered right:
I will post here in my question the HTML and parts of my CSS.
<body>
<img id="logo" src="res/img/logo.png" />
<div id="content">
<div id="main-panel">
<div class="headline">People in the database</div>
<table width="100%" border="0" id="people">
<tr class="table-headline">
<td width="3%">#</td>
<td width="90%">Name</td>
<td width="7%"> </td>
</tr>
</table>
</div>
<div id="right-panel">
<div class="headline">Here is where the tools will be posted</div>
This is the tools panel.
</div>
</div>
</body>
</html>
and the CS...
html {
text-align: center;
background-color: #eeeeee;
-webkit-box-shadow: 10px 20px 20px #666;
box-shadow: 10px 20px 20px #666;
}
body {
margin-left: auto;
margin-right: auto;
background-color: #ffffff;
width: 960px;
text-align: left;
border-radius: 4px;
border: 1px solid #666;
padding-top: 10px;
-webkit-box-shadow: 0px 6px 15px 0px #aaa;
box-shadow: 0px 6px 15px 0px #aaa;
-moz-box-shadow: 0px 6px 15px 0px #aaa;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
#logo {
width: 150px;
height: auto;
margin-bottom: 10px;
}
#content {
position: relative;
min-height: 400px;
font-size: 14px;
}
#content .headline {
height: 24px;
padding-left: 5px;
padding-right: 5px;
font-family: "Segoe UI";
font-size: 12px;
line-height: 24px;
background-image: url(img/headlineBackground.png);
clear: right;
float: none;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-color: #666666;
border-bottom-width: 1px;
border-bottom-style: solid;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
}
#content #main-panel {
width: 740px;
margin-right: 10px;
float: left;
position: relative;
}
#content #right-panel {
float: right;
position: relative;
}
I would search on Google, but I really don't know what to look for... Please tell me where is the mistake, and maybe ways to improve my CSS... Of course tell me if you need anything more to help me!