Revision: 31284
Updated Code
at September 2, 2010 05:59 by stephcode
Updated Code
HTML:
<body>
<div id="all-wrap">
<div id="wrapper">
<div id="body-wrapper">
// Everything
</div>
</div>
</div>
</body>
CSS:
#all-wrap {
background-color: transparent;
text-align: center;
left: 0;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block;}
#wrapper {
position: absolute;
top: -30px; left: 50%;
visibility: visible;
z-index: 1;
margin-left: -647px;
height: 928px;
width: 1280px;
background: url(../images/bg.jpg) 0 30px no-repeat;}
#body-wrapper {
position: relative;
z-index: 1;
height: auto;
width: 1280px;
float: left;}
Revision: 31283
Updated Code
at September 2, 2010 05:58 by stephcode
Updated Code
HTML:
<body>
<div id="all-wrap">
<div id="wrapper">
<div id="body-wrapper">
// All content
</div>
</div>
</div>
</body>
CSS:
#all-wrap {
background-color: transparent;
text-align: center;
left: 0;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block;}
#wrapper {
position: absolute;
top: -30px; left: 50%;
visibility: visible;
z-index: 1;
margin-left: -647px;
height: 928px;
width: 1280px;
background: url(../images/bg.jpg) 0 30px no-repeat;}
#body-wrapper {
position: relative;
z-index: 1;
height: auto;
width: 1280px;
float: left;}
Revision: 31282
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 2, 2010 05:51 by stephcode
Initial Code
#all-wrap {
background-color: transparent;
text-align: center;
left: 0;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block;}
#wrapper {
position: absolute;
top: -30px; left: 50%;
visibility: visible;
z-index: 1;
margin-left: -647px;
height: 928px;
width: 1280px;
background: url(../images/bg.jpg) 0 30px no-repeat;}
#body-wrapper {
position: relative;
z-index: 1;
height: auto;
width: 1280px;
float: left;}
Initial URL
Initial Description
Initial Title
Centering body in browser window
Initial Tags
css, window, browser, center, body
Initial Language
CSS