File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select Element overlaps the div

 
az ziz
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
---------------------------------------------------------------
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
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
-------------------------------------------------------------
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
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be aware that this is a bug that only manifests itself in IE6.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic