Created
February 17, 2009 21:17
-
-
Save jstn/65987 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
vertically centered table cell | |
--> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html> | |
<head> | |
<title>Vertically Centered</title> | |
<meta name="warning" content="HC SVNT DRACONES" /> | |
<style type="text/css"> | |
body, table, tr, td { margin: 0; padding: 0; } | |
</style> | |
</head> | |
<body> | |
<table height="100%" width="100%"> | |
<tr> | |
<td align="center" valign="middle"> | |
this is vertically centered | |
</td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment