Can I use fixed positioning with compatible browsers and absolute with IE 6?

liunx

Guest
Does anyone know of a way to do this. I want to used fixed positioning, but since IE doesn't support it I am forced to use absolute. I would still like to use fixed positioning in compatible browsers. Is there a way I can write the CSS or code the page so that the right browsers get the right message?They say two wrongs don't make a right, but this isn't always true:element#id {
position: fixed !important;
position: absolute;
left: 30px;
top: 100px;
}Thank you, that works great. I forgot all about the important rule.

Who says you can't rely on the kindness of strangers :D
 
Back
Top