They were not complete accurate indeed ronpat, but i have adjusted some things and now everything is okay. For center the div vertical i used the pseudo :before on the wrapper. Here is the complete CSS:
Code:
* {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
}
body:before {
content:'';
height:100%;
float:left;
width:0;
margin-top:-32767px;
}
body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1;
font-size: 100%;
background: #0000;
color: #000;
}
#wrapper {
width: 100%;
max-width: 1060px;
height: 100%;
min-height: 100%;
margin: -42px 0 0;
position: relative;
overflow: hidden;
}
#wrapper:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
#footer_panel {
width: 100%;
max-width: 1060px;
height: 42px;
position: relative;
clear: both;
z-index: 200px;
font-size: .875em;
}
#header {
width: 98.11320754716981%;
max-width: 1040px;
position: absolute;
top: 0;
left: 20px;
overflow: hidden;
border-top: 42px solid #FFF;
z-index: 100;
clear: both;
}
#main {
width: 100%;
max-width: 1040px;
min-height: 1px;
margin: 20px 0 0 20px;
display: inline-block;
vertical-align: middle;
position: relative;
z-index: 4;
overflow: hidden;
}
#sidebar {
width: 25%;
max-width: 260px;
padding: 40px 0;
position: relative;
float: left;
z-index: 1;
vertical-align: top;
}
.sidebar {
width: 25%;
max-width: 258px;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 20px;
z-index: 0;
border-right: solid 2px #F6491F;
background: #FFF;
zoom: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
#mask {
width: 75%;
max-width: 780px;
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
left: 280px;
}
#content {
width: 100%;
max-width: 780px;
padding: 40px 0;
position: absolute;
top: 0;
bottom: 0;
left: 0;
display: none;
z-index: 1;
overflow: hidden;
background: #FFF;
zoom: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
#footer_panel #footer {
width: 98.11320754716981%;
max-width: 1040px;
height: 42px;
line-height: 42px;
margin-left: 20px;
background: #000;
color: #FFF;
zoom: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
-moz-opacity: 0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
position: relative;
z-index: 100;
overflow: hidden;
}
#footer_panel #footer p {
margin-left: 30px;
}
Bookmarks