S
S
serzhb2011-06-11 12:51:41
css
serzhb, 2011-06-11 12:51:41

Position: Fixed & Doctype & IE?

Hello. Faced a problem.
In IE7 and IE8, the CSS property - position: fixed only works if you specify doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " www.w3.org/TR/html4/strict.dtd " >
The problem is that the script must be integrated into an arbitrary site, which may not have a doctype or will have the wrong one. It is not realistic to change the doctype with a Java script, it seems to be read only. How to be?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
flight, 2011-06-11
@flight

Script to emulate fixed via position:absolute. Previously, this was done for the sixth donkey. Find a script for it (only not the one through the expression) and remove the browser check condition

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question