Re: Center DIV

On Thursday, July 3, 2003, 3:18:36 PM, Jonas Galvez wrote:
> Hi, this is my first post on this list. Does anybody know 
> an efficient way to place a <div> on the center of the 
> page? I've tried everything.

  position: absolute; top: 0; left: 0; bottom: 0; right: 0;
  margin: auto; height: 10em; width: 10em;

Doesn't work in IE, but this list isn't the place to discuss
practical use of CSS.
      
-- 
Tom Gilder, http://tom.me.uk/
 Blog! http://blog.tom.me.uk/

Received on Thursday, 3 July 2003 10:55:31 UTC