Skip to content

Instantly share code, notes, and snippets.

@mpacific
Created May 16, 2012 04:12
Show Gist options
  • Save mpacific/2707320 to your computer and use it in GitHub Desktop.
Save mpacific/2707320 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1138.32">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica; min-height: 14.0px}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 14.0px Helvetica}
table.t1 {border-collapse: collapse}
table.t2 {border-collapse: collapse}
td.td1 {border-style: solid; border-width: 2.0px 2.0px 2.0px 2.0px; border-color: #cbcbcb #cbcbcb #cbcbcb #cbcbcb; padding: 0.0px 5.0px 0.0px 5.0px}
#tableID {margin: 0 auto}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript">
</script>
<script type="text/javascript">
function doCenter() {
$('#tableID').css('marginTop', (parseInt($(document).height() / 2) - ($('#tableID').outerHeight() / 2)) + 'px');
}
$(document).ready(function() {
doCenter();
});
$(window).resize(function() {
doCenter();
});
</script>
</head>
<body>
<table cellspacing="0" cellpadding="0" class="t1" id="tableID">
<tbody>
<tr>
<td class="td1">
<p class="p2">You have reached the end of the Internet. Please go back.</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment