Hi,
How can i center in screen (width and height) this page: ?
http://www.gamito.org/wizard.php
Any help would be appreciated.
Warm Regards,
Mário Gamito
__
css-discuss [EMAIL PROTECTED]
On 27/09/06, mamrg [EMAIL PROTECTED] wrote:
Hi,
How can i center in screen (width and height) this page: ?
To center in screen, the method I use to avoid any IE hack, is like so
(example):
#wrapper {
width: 700px;
position: relative;
left: 50%;
margin-left: -350px;
}
as for height, that is
mamrg wrote:
How can i center in screen (width and height) this page: ?
http://www.gamito.org/wizard.php
Mário Gamito
This is one method. But centering vertically depends on screen
resolution, sidebar use, and top and bottom chrome-- and no two users on
earth are necessarily exactly the same.
Olá Mário,
Simplesmente:
#inscricao{
position:absolute;
left:50%;
top:50%;
margin-left:-240px;
margin-top:-120px;
}
Roberto
mamrg wrote:
Hi,
How can i center in screen (width and height) this page: ?
http://www.gamito.org/wizard.php
Any help would be appreciated.
--
mamrg wrote:
Hi,
How can i center in screen (width and height) this page: ?
I like the Auto-Width margin method. It doesn't sink the div offscreen
if the window is too thin.
http://bluerobot.com/web/css/center1.html
-Daniel