Segue minha página xhtml.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Teste</title> <style> html {height: 100%;} body {min-height: 100%;} * html body {height: 100%;} * { padding:0px; margin:0px; } /* layer principal, centralizador */ #container { height: 100%; display: table; border:1px solid red; } #spacer_container { position: static; display: table; width: 772px; height: auto; z-index: 2; } </style> </head> <body> <div id="container"> <div id="spacer_container">123</div> </div> </body> </html>
Edição feita por: wesley.tome, 20/06/2007, 13:52.