How to apply CSS correctly to iFrame?
Folks, i have the following problem. My website uses an iframe to select an element aso... The important thing is that FF (and Chrome) renders the css correctly while IE seems to not apply it or at least parts of it.
To be honest, it does not look very nice, but thats because i stripped out as much as possible out of the more complex website. There is a lense image right of the input field X2. In FF it gets displayed and it gets replaced with another image if the user types in three letters. In IE nothing happens, also other css-settings have not been applied as you can see.
What i can do to make IE apply the css too?
I solved this problem by adding a doctype definition to ie2.html. Seems like IE uses an own one if none is defined what leads to a different css.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">