View Full Version : BasicDialog with fixed position

8 Feb 2007, 9:50 AM
I have a BasicDialog that appears with a CSS fixed position. Works fine on FF2.x (have not tested with FF1.x), but does NOT work with IE7 and Opera 9.x. This is what (all) I have:

<div id="dlg1" style="visibility:hidden;position:fixed !important;position:absolute;top:0px;z-index:1;">
<div class="ydlg-hd">Some Summary</div>
<div class="ydlg-bd">

Some Summary.</p>

I did a light search on this forum, and found out that the single biggest issue most people have with BasicDialog is centering or has something to do with position of the dialog. Does anyone have any insight to the problem? Thanks

8 Feb 2007, 11:31 AM
IIRC, position:fixed is not fully implemented in all browsers. I don't think this is a yui-ext issue. Just try a fixed div on IE.