.button {
	border: 1px solid #FFFFFF;
	color: white;
	padding: 13px 28px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	background-color: Transparent;
}
* { margin: 0; padding: 0; }
	
		#bg { position: fixed; top: 0; left: 0; }
		.bgwidth { width: 100%; }
		.bgheight { height: 100%; }
		
		#page-wrap {  width: 400px;
   height: 300px;
   position: absolute;
   left: 50%;
   top: 50%; 
   margin-left: -210px;
   margin-top: -300px; }
		p {
	color: white;
	font-family: arial;
	font-size: 19px;
	margin: 0 0 20px;
	text-align: center;
	text-indent: 0;
}
p a {
color: white;
}
#page-wrap form {
	text-align: center;
}
#page-wrap img {
	padding: 10px 10px 10px 10px;
	text-align: center;
}
	</style>
	
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
	<script>
		$(function() {   
		
			var theWindow        = $(window),
			    $bg              = $("#bg"),
			    aspectRatio      = $bg.width() / $bg.height();
			    			    		
			function resizeBg() {
				
				if ( (theWindow.width() / theWindow.height()) < aspectRatio ) {
				    $bg
				    	.removeClass()
				    	.addClass('bgheight');
				} else {
				    $bg
				    	.removeClass()
				    	.addClass('bgwidth');
				}
							
			}
			                   			
			theWindow.resize(function() {
				resizeBg();
			}).trigger("resize");
		
		});
	</script>
