jamie smith
03-27-2005, 02:10 PM
Hello
I have a page I am testing www.amalgam-models.co.uk/james/test2.htm
It seems to work in all main browser accept IE5 mac. I have put a hack in which works but doesnt centralize the box:
.container {
background-color: transparent;
position: absolute;
top:100px;
left:200px;
}
/* following rules are invisible to IE 5 \*/
.container {
position:absolute;
left:50%;
top:50%;
width:730px;
height:404px;
margin-left:-365px;
margin-top:-202px;
}
/* styles for IE 5 Mac */
Is there any way of doing this to centralize an absolutly positioned box in Ie5 mac?
Any help would be greatly apreciated
Thanks
I have a page I am testing www.amalgam-models.co.uk/james/test2.htm
It seems to work in all main browser accept IE5 mac. I have put a hack in which works but doesnt centralize the box:
.container {
background-color: transparent;
position: absolute;
top:100px;
left:200px;
}
/* following rules are invisible to IE 5 \*/
.container {
position:absolute;
left:50%;
top:50%;
width:730px;
height:404px;
margin-left:-365px;
margin-top:-202px;
}
/* styles for IE 5 Mac */
Is there any way of doing this to centralize an absolutly positioned box in Ie5 mac?
Any help would be greatly apreciated
Thanks