Hi, I'm trying to center a relative position div. What could I do?

here is the CSS:

div.footer {
    width : 720px;
    margin-left : auto;
    margin-right : auto;
    position : fixed;
    z-index : 1;
    bottom : 0px;
    text-align : center;
  }

This is the XHTML:
...
<div class="footer">Footer</div>
...

this div should be centered and attached to the bottom border.

I'm new to xhtml+css, so I'm sure that I'm missing something :)

Bye
  Lorenzo
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to