aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Select Element overlaps the div Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Select Element overlaps the div" Watch "Select Element overlaps the div" New topic
Author

Select Element overlaps the div

az ziz
Ranch Hand

Joined: Dec 17, 2008
Posts: 50
---------------------------------------------------------------
dear all,
i show an iframe within div over the main page containing select elements. but the elements overlaps the div. for now i have hide the select elements before the div shows up. but rather i need a different solution. is there any....
---------------------------------------------------------------
az ziz
Ranch Hand

Joined: Dec 17, 2008
Posts: 50
-------------------------------------------------------------
dear all,

the below is a workaround to this problem

the problem
---------------


<SELECT>
<OPTION selected value="">This is select element item</OPTION>
</SELECT>


<DIV style="BORDER:black 3px solid; Z-INDEX:100; LEFT:5px; WIDTH:80px; POSITION:absolute; TOP:5px; HEIGHT:50px; BACKGROUND-COLOR:#0099dd">
This is some text! Can you see it?
</DIV>



now the try
---------------


<SELECT>
<OPTION selected value="">This is select element item</OPTION>
</SELECT>


<DIV style="Z-INDEX:100; LEFT:5px; WIDTH:80px; POSITION:absolute; TOP:5px; HEIGHT:50px;">
<IFRAME style="Z-INDEX:-1;WIDTH:100%;POSITION:absolute;HEIGHT:100%" src="" frameborder="0">
</IFRAME>
<DIV style="BORDER:black 3px solid; Z-INDEX:100; WIDTH:100%; POSITION:absolute; HEIGHT:100%; BACKGROUND-COLOR:#0099dd">
This is some text! Can you see it?
</DIV>
</DIV>

Vijay

-------------------------------------------------------------
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61657
    
  67

Be aware that this is a bug that only manifests itself in IE6.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Select Element overlaps the div