Previous Message
Next Message

Re: [css-d] center div *vertically* - Can it be done?

Sent by Brandon Oto on 23 November 2002 08:08


on 11/22/02 11:06 AM, Nick Wilson at [EMAIL-REMOVED] mumbled something about:

> Hi all, 
> 
> Is it possible to center a div vertically? -- Any way at all, I'm not
> working on a specific situation just want to find out if it can be done.
> And How? ;-)

Others have mentioned good workarounds, but I might as well pipe in as an
ideologist... theoretically, I think, we SHOULD be able to use auto margins
(i.e. margin-top:auto; margin-bottom:auto) to center a block vertically.

Support for this is so nonexistent that it probably doesn't warrant
mentioning, though.

- Brandon Oto

_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning
Previous Message
Next Message

Message thread: