thox
05-27-2003, 09:46 PM
#left {
position: relative;
margin: 300px 0 0 27px;
width: 180px;
padding-top: 200px;
}
This is exactly what I want... it works fine... and then fails miserably in IE (margin is completely ignored).
I found that removing the width fixes the margin problem but this doesn't help because I need the box to be of 180 pixels wide.
Am I doing something wrong or does IE not understand? If it's the latter, then are there any simple solutions other than using Mozilla? ;)
position: relative;
margin: 300px 0 0 27px;
width: 180px;
padding-top: 200px;
}
This is exactly what I want... it works fine... and then fails miserably in IE (margin is completely ignored).
I found that removing the width fixes the margin problem but this doesn't help because I need the box to be of 180 pixels wide.
Am I doing something wrong or does IE not understand? If it's the latter, then are there any simple solutions other than using Mozilla? ;)