CSS struggles with vertical alignment. Simply because vertical alignment ONLY works inside "table cell" elements and only affects "inline" elements inside. CSS tends to uses block level elements so vertical align doesn't apply anywhere. I tried some tests using
But everyone's favourite browser can't handle it

this link that conorific posted:
http://spiritual-pixel.com/there/vertical.html is the only way to center vertically using css comletely cross browser. It is a very clever method but it suffers from the following flaws:
1) if you shrink the page down there are bits that cannot be seen even if you scroll
2) You have to specifically set the height of the container
3)text-zoom breaks the whole damn thing.
IMO vertical centering is very rarely <b>needed</b> Most of the time the content will go off the bottom of the screen anyway (which will stop the method posted from working) If I ever really need vertical centering, which is probably never, even I would use a table (shock horror), simply to save myself a big 'ole headache
TBH, I wish you had said what you were trying to do beforehand. I see all you have is an image and some text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Jeremy Lang</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div style="text-align:center">
<img src="http://www.jeremy-lang.com/img/jeremy-lang-logo.gif" width="250" height="63">
<p>Coming Soon!</p>
</div>
</body>
</html>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Jeremy Lang</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- </head>
- <body>
- <div style="text-align:center">
- <img src="http://www.jeremy-lang.com/img/jeremy-lang-logo.gif" width="250" height="63">
- <p>Coming Soon!</p>
- </div>
- </body>
- </html>
CSS website design tutorials