0

I'm experiencing problem with ie6 and dynamically generated components. have a static panel (main one) with a scroll bar and I'm dynamically placing other (smaller) panels into the main. these smaller ones contain other components... close to the point, here are the screenshots that exactly give the point of my problem with ie6.

http://www.turboimagehost.com/p/7333211/ie6.JPG.html

thats how it looks in ie6. on the other hand heres how page looks in ff. thats exactly the way it was planned to be (same look with other major browsers)

http://www.turboimagehost.com/p/7333209/ff3a.JPG.html http://www.turboimagehost.com/p/7333210/ff3b.JPG.html

4

1 に答える 1

1

コメントから、子 div に絶対配置を使用していますが、親のスタイルを指定していません。しかし、ほとんどの場合、よく知られた IE6 のバグに遭遇している可能性があります。問題と解決策については、この記事を参照してください。要するに、コンテナ (親) の div/panel に相対位置を使用する必要があります。

一方、提案されたレイアウトでは、絶対配置を使用する必要はありません。余白を使用してレイアウトを制御できます。ここでサンプル フィドルを参照してください

于 2011-05-18T04:24:42.307 に答える