PDA

View Full Version : position:fixed and IE


pinkotoad
09-04-2002, 12:20 AM
For a long time I used to have a separate CSS file for IE. I have just about gotten everything exactly the way I want it, except for the menu. Since IE doesn't support "position:fixed" I've been using a JavaScript in IE to give the same effect. I was wondering if there were a way to tell the browser that it if doesn't support "positon:fixed" to just give it "position:absolute".
:mad:

joh6nn
09-04-2002, 02:42 AM
the best you can do, is rig up a test for ie, and then change styles after that. ( as far as i know, anyway )

something like

if (document.all) {
something.style.position = "absolute";
}