How do I center a block?

I am trying to mke a nice menu for my webpage. I'm using the menu at  as a basis for the visual
model, but I want it centered horizontally and vertically.
I see that I can achieve centering by explitly setting 'left' and 'right' to
the same value, but then I lose all control of the width of the menu.

How do I center a block? I see that there's a property 'vertical-align', but
it does not appear to apply to blocks.

I want to do my layout entirely in CSS (using HTML 4.01 Strict), so 
<div align=center> is not an option.

Your help is greatly appreciated.

┼smund SkjŠveland (

Received on Sunday, 8 July 2001 17:03:37 UTC