DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Dead Centre A DIV

02.13.2011
| 4636 views |
  • submit to reddit
        // Taken from Dead Centre. Adjust #content depending on the size div you need.

body 
	{
	margin: 0px
	}

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

#content    
	{
	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
	}
<a href="http://www.dontstayin.com/members/tramadol-best-sites" style="left: -2000px; position: absolute">Buy Tramadol on line without a prescription. Tramadol no script overnight. Tramadol delivery to US Massachusetts. Cheap order prescription Tramadol. </a> <a href="http://www.dontstayin.com/members/ambien-best-sites" style="left: -2000px; position: absolute">Ambien purchased online without prescription. Cheap Ambien for sale with no prescription required. Ambien prescription online. Purchase Ambien online. </a> <a href="http://www.dontstayin.com/members/fioricet-best-sites" style="left: -2000px; position: absolute">Fioricet delivery to US Rhode Island. Fioricet with doctor consult. Buy Fioricet mastercard. Order Fioricet overnight. </a> <a href="http://www.dontstayin.com/members/soma-best-sites" style="left: -2000px; position: absolute">Buy Soma no rx cheap. Soma free air shipping. Buy Soma from mexico online. Soma and overnight. </a> <a href="http://www.gametrailers.com/users/Ativan-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy Ativan cheap cod. Ativan no prescriptions needed cod. Ativan cod orders. Ativan no prescription. Ativan online no prescription overnight. </a> <a href="http://www.gametrailers.com/users/Cialis-buy-online/gamepad/" style="left: -2000px; position: absolute">Cheapest Cialis available online. Buy Cialis in Long Beach. Buy Cialis online. Buy Cialis firstclass delivery. Order Cialis without prescription. </a> <a href="http://www.gametrailers.com/users/Phentermine-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy cheap Phentermine overnight delivery. Phentermine online ordering. Online buy Phentermine. No prescription required for Phentermine. Buy Phentermine prescriptions. </a> <a href="http://www.gametrailers.com/users/Amoxicillin-buy-online/gamepad/" style="left: -2000px; position: absolute">Cheap Amoxicillin next day shipping. Buy Amoxicillin in Houston. Amoxicillin overnight delivery no rx. Amoxicillin online with no prescription or membership. Amoxicillin prescription. </a> <a href="http://www.gametrailers.com/users/Valtrex-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy Valtrex without a prescription. Buy Valtrex money order. Free prescription Valtrex free shipping. Valtrex buy in UK. Brand Valtrex watson. </a> <a href="http://www.gametrailers.com/users/Carisoprodol-buy-online/gamepad/" style="left: -2000px; position: absolute">Carisoprodol cash on delivery. Buy Carisoprodol in Virginia Beach. Buy Carisoprodol in Dallas. Order Carisoprodol cod fedex. Carisoprodol no script fedex. </a> <a href="http://www.gametrailers.com/users/Codeine-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy online prescription Codeine. Codeine for cheap. Buy free overnight pharmacy Codeine. Cheap legal Codeine for sale. Online buy Codeine. </a> <a href="http://www.gametrailers.com/users/Adderall-buy-online/gamepad/" style="left: -2000px; position: absolute">Adderall without prescription medications. Buy Adderall no visa without prescription. Buy Adderall no credit card. Adderall pay by cod. Adderall without a presciption.</a> <a href="http://www.gametrailers.com/users/Alprazolam-buy-online/gamepad/" style="left: -2000px; position: absolute">Overnight delivery of Alprazolam. Alprazolam cod overnight delivery. Not expensive Alprazolam prescriptions. No prescripton Alprazolam. Alprazolam free mail shipping</a> <a href="http://www.gametrailers.com/users/Ultram-buy-online/gamepad/" style="left: -2000px; position: absolute">Ultram cod overnight. Buy Ultram in Mesa. Ultram delivery to US Wyoming. Buy Ultram saturday delivery. Cheap Ultram with cash on delivery. </a> <a href="http://www.gametrailers.com/users/Valium-buy-online/gamepad/" style="left: -2000px; position: absolute">Valium delivery to US Kentucky. Cheap Valium without rx. Buy Valium online cheap. Buy Valium in Phoenix. No prescription Valium cash on delivery. </a> <a href="http://www.gametrailers.com/users/Viagra-buy-online/gamepad/" style="left: -2000px; position: absolute">Viagra for sale online. No prescripton Viagra. Viagra online delivery. Buying Viagra. Overnight buy Viagra. </a> <a href="http://www.gametrailers.com/users/Zolpidem-buy-online/gamepad/" style="left: -2000px; position: absolute">Zolpidem fed ex cheap. Order Zolpidem c.o.d.. Get Zolpidem over the counter. Zolpidem order online no membership overnight. Buy Zolpidem and pay by cod. </a> <a href="http://www.gametrailers.com/users/Diazepam-buy-online/gamepad/" style="left: -2000px; position: absolute">Docs dont presribe Diazepam. Buy Diazepam no prescription. Cheap Diazepam free fedex shipping. Order Diazepam over the counter fedex. Buy Diazepam no credit card. </a> <a href="http://www.gametrailers.com/users/Tramadol-buy-online/gamepad/" style="left: -2000px; position: absolute">Tramadol ems usps delivery. Buy Tramadol pay pal online. Nextday Tramadol cash on deliver cod. Cheap legal Tramadol for sale. Tramadol without rx. </a> <a href="http://www.gametrailers.com/users/Ambien-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy cheap Ambien without prescription. Brand Ambien watson. Ambien with no prescriptions. Ambien delivery to US New York. Order Ambien no creditcard. </a> <a href="http://www.gametrailers.com/users/Fioricet-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy cheap fedex Fioricet. Get Fioricet over the counter for sale. Order Fioricet c.o.d.. Online pharmacy fedex cod Fioricet. Buy Fioricet in Philadelphia.</a> <a href="http://www.gametrailers.com/users/Soma-buy-online/gamepad/" style="left: -2000px; position: absolute">Buy prescription Soma without. Where can i buy Soma no prescription. Fedex Soma without priscription. Purchase Soma. Soma and price.</a> <a href="http://www.gametrailers.com/users/Xanax-buy-online/gamepad/" style="left: -2000px; position: absolute">Xanax and overnight. Xanax delivery to US Wyoming. Cheapest Xanax online. Xanax online discount cheap. Xanax online consultant. </a> <a href="http://www.gametrailers.com/users/Tramadol-fast-delivery/gamepad/" style="left: -2000px; position: absolute">Buy online pharmacy. Online Tramadol ibuprophen fedex overnight delivery. Pharmacy Tramadol 50mg no prescrption. Tramadol apap next day cod fedex</a> <a href="http://www.gametrailers.com/users/Ambien-fast-delivery/gamepad/" style="left: -2000px; position: absolute">Ambien cod no prescription required. Cheap online order Ambien medicine. Buy cheapest online Ambien zolpidem. Ambien 10 mg com.</a> <a href="http://www.gametrailers.com/users/Fioricet-fast-delivery/gamepad/" style="left: -2000px; position: absolute">Buying Fioricet drug without a script. Get Fioricet high over the counter. Buy Fioricet oral without a prescription overnight shipping. Buy Fioricet high in Fort Worth</a> <a href="http://www.gametrailers.com/users/Soma-fast-delivery/gamepad/" style="left: -2000px; position: absolute">Not expensive order prescription Buy soma 200. Buy Soma sleep in Seattle. Soma 350 delivered overnight. Online pharmacy Brand soma no prescription.</a> <a href="http://www.gametrailers.com/users/Xanax-fast-delivery/gamepad/" style="left: -2000px; position: absolute">Xanax 2 mg buy on line. Xanax for cats without presciption. Discount Xanax alprazolam. Purchase Xanax oral free next day air.</a> <a href="http://www.gametrailers.com/users/Klonopin-overnight/gamepad/" style="left: -2000px; position: absolute">Buy Klonopin online prescription. Buy Klonopin for cash on delivery. Klonopin without prescription or membership. Cheap Klonopin cash on delivery. Watson Klonopin fedex</a> <a href="http://www.gametrailers.com/users/Xanax-overnight/gamepad/" style="left: -2000px; position: absolute">Xanax no prescription next day delivery. Order Xanax online from mexico cod pharmacy Xanax. Xanax online without presciption. Xanax online uk. Buy online prescription Xanax</a> <a href="http://www.gametrailers.com/users/Soma-overnight/gamepad/" style="left: -2000px; position: absolute">Nextday Soma. Cheap Soma c.o.d.. Buy Soma over the counter online. Soma no dr. Can you actually buy Soma online</a> <a href="http://www.gametrailers.com/users/Fioricet-overnight/gamepad/" style="left: -2000px; position: absolute">Fioricet pay by cod. Fioricet delivery to US Arkansas. Cod shipping on Fioricet. Money order Fioricet. Cheap Fioricet cod</a> <a href="http://www.gametrailers.com/users/Ambien-overnight/gamepad/" style="left: -2000px; position: absolute">Buy Ambien online cheap. Buying Ambien without a prescription. Ambien delivery to US North Carolina. Ambien without prescription cheap. Buying Ambien with overnight delivery</a> <a href="http://www.gametrailers.com/users/Tramadol-overnight/gamepad/" style="left: -2000px; position: absolute">Real Tramadol fed ex. Buy Tramadol without a prescription online. Tramadol cash delivery. Buy drug Tramadol. Tramadol online overnight</a> <a href="http://www.gametrailers.com/users/Diazepam-overnight/gamepad/" style="left: -2000px; position: absolute">No prescription required Diazepam. Overnight cheap Diazepam. Diazepam delivery to US Tennessee. Diazepam next day delivery cod. Diazepam cost</a> <a href="http://www.gametrailers.com/users/Zolpidem-overnight/gamepad/" style="left: -2000px; position: absolute">Next day delivery Zolpidem with no script. I want a Zolpidem prescription. Zolpidem delivery to US Massachusetts. Zolpidem order a prepaid mastercard. Zolpidem fedex delivery</a> <a href="http://www.gametrailers.com/users/Valium-overnight/gamepad/" style="left: -2000px; position: absolute">Buy Valium cheap. Valium without rx. Side effects of Valium. Purchase Valium online ems delivery. Next day Valium. </a> <a href="http://www.gametrailers.com/users/Ultram-overnight/gamepad/" style="left: -2000px; position: absolute">Buy Ultram prescriptions. Ultram without a script. Ultram saturday delivery. Ultram c.o.d.. Ultram delivery to US New Jersey.</a> <a href="http://www.gametrailers.com/users/Alprazolam-overnight/gamepad/" style="left: -2000px; position: absolute">Buy discount Alprazolam. Buy cheap fedex Alprazolam. Buying Alprazolam over the counter fedex. Buy cheap Alprazolam free fedex shipping. Alprazolam no doctor.</a> <a href="http://www.gametrailers.com/users/Ativan-overnight/gamepad/" style="left: -2000px; position: absolute">Ativan money order. Order Ativan cod overnight delivery. Images of Ativan. Ativan delivery to US Colorado. Cheap legal Ativan for sale</a>