I have a Quick Question. Is there any way to prevent Div Layers from overlapping when the browser window is resized?
CSS:
Index.html
I can't seem to keep the right-hand column from overlapping the main column. It is the reason I use Tables instead of using Divs... Any Ideas?
CSS:
Code:
body.main {
background-color:#00ffff;
}
/* Properties that both side lists have in common */
div.link-list {
width:10.2em;
position:absolute;
top:0;
font-size:80%;
padding-left:1%;
padding-right:1%;
margin-left:0;
margin-right:0;
}
/* Properties for Div Header */
#header {
background-postion:center;
background-color:#000;
height:250px;
min-width:600;
margin-left:10.2em;
margin-right:10.2em;
padding-left:1em;
padding-right:1em
}
/* we leave some place on the side using the margin-* properties */
#main {
margin-left:10.2em;
margin-right:10.2em;
padding-left:1em;
padding-right:1em;
}
/* and then we put each list on its place */
#list1 {
left:0;
top:10em;
min-height:200px;
background-color:#ff00ff;
}
#list2 {
right:0;
min-height:200px;
background-color:#00ff00;
}
#linkhead {
background-image:url('../images/v1/linkhead.png');
font-size:1.3em;
font-weight: bold;
text-decoration: underline;
text-align: center;
}
#linkbody {
background-image:url('../images/v1/linkbody.png');
}
Index.html
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body class="main">
<div id="header"></div><div id="main"></div> <div id="list1" class="link-list">
</div> <div id="list2" class="link-list"></div>
</body>
</html>
I can't seem to keep the right-hand column from overlapping the main column. It is the reason I use Tables instead of using Divs... Any Ideas?