Return to Snippet

Revision: 31284
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
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
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