This is an archived tutorial from the kirupa.com legacy collection. It covers software that may no longer be available, but it is kept online because the ideas still hold up.
Recently, many people have been asking how
they can center things both vertically and horizontally in
their web pages. The easiest way to accomplish this is with
tables. This tutorial will be directed towards DreamWeaver
users, but the code should also work in FrontPage as well as
any other website editor you happen to use.
OK, let’s get started!

[ adjust your table properties ]
width=“100%”. Insert a space (by pressing the space
bar, duh…). Now enter the following code:
height=100%.|
|
Note |
|
In DreamWeaver MX 2004, there is one
more step. Go to this
thread to learn more.
|
|
Your text should be nicely centered in the design area. This can come in handy when designing websites for multiple resolutions, or just plain for the sake of centering a simple flash movie in the middle of a page. If you have any questions, feel free to post on the forum.
Thanks,
|
|
Brad aka Yeldarb |
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.
Your support keeps this site going! 😇
:: Copyright KIRUPA 2026 //--