Here is the CSS snippet:
#divmain
{
position:absolute;
width:100%;
height:100%;
border-style:none;
top: 0px;
left: 0px;
bottom:0px;
background-color:#FFFFFF;
}
#divcenter
{
position:absolute;
width:400px;
height:400px;
top:50%;
left:50%;
margin-left:-200px;
margin-top:-200px;
border-style:solid;
border-width:thin;
background-color:#4D6633!important;
padding:5px;
}
#divfocus
{
position:absolute;
width:380px;
height:380px;
top:50%;
left:50%;
right:50%;
margin-left:-190px;
margin-top:-190px;
border-style:solid;
border-width:thin;
background-color:#FFFFFF !important;
}
2007-11-26
01:58:25
·
4 answers
·
asked by
crazyfrog
2
in
Computers & Internet
➔ Programming & Design
So is there any special commands for IE to put it in the middle.
2007-11-26
02:10:04 ·
update #1