We use JSF/Primefaces with a custom design and faced the issue that IE displayed our views not correctly if opened in a frame, but displayed it correctly when opend in a single tab.
We spend hours over hours to find a solution and then we found your post which gave us the hint we needed.
It turned out that in our main site (were the framesets are defined) the DOCTYPE was defined without .dtd and this was the reason why IE used document mode quirks and this destryoed our design. We added the link to the .dtd and it worked.
Former:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
Now:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
We will use your post for our internal wiki, so that this wont happen again.
Thank you very much.


LinkBack URL
About LinkBacks
)
Zitieren