I have 4 div
elements, one after the other. The 1st, 2nd, and 4th are working fine, but the 3rd div
is not positioning properly. I am setting its position, but it's not following ...my code ..
.mid_table
div
is left aligned, but I want it to follow the coordinates given in CSS.
CSS
#top_table {
background-image: url(images/Round%20corner);
background-repeat: no-repeat;
background-position: center top;
height: 25px;
}
#bottom_table {
background-image: url(images/Round%20corner);
background-repeat: no-repeat;
background-position: center bottom;
height: 25px;
}
#mid_table {
background-color: #09F;
left: 54px;
width: 449px;
height: 200px;
position: relative;
}
HTML
<body>
<div id="logo" >
<center>
<h1><b> Portal</b></h1>
</center>
</div>
<div id="top_table">
<!-- empty -->
</div>
<div id="mid_table">
Content for id "mid_table" Goes Here
</div>
<div id="bottom_table">
Content for id "bottom_table" Goes Here
</div>
<div>
</body>