Return to Snippet

Revision: 220
at July 5, 2006 10:02 by 1man

Initial Code
	margin: 0px

	color: white;
	background-color: #0ff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 0px;
	width: 100%;
	height: 1px;
	overflow: visible;
	visibility: visible;
	display: block

	position: absolute;
	left: 50%;
	width: 250px; /* Overall width of div */
	height: 70px; /* Overall height of div */
	top: -35px; /* half of the overall height */
        margin-left: -125px; /* half of the overall width */
        visibility: visible

Initial URL

Initial Description
Taken from Dead Centre. Adjust #content depending on the size div you need.

Initial Title
Dead Centre a DIV

Initial Tags

Initial Language