hi everybody, this is my first time posting something. And I'm sorry because my english is far from perfect.
I'm trying to make a fullscreen transparent div but I have some restrictions on the way to do it. My div should be inside another div. As the containig div isn't full screen I think the inside div can't be full screen. . . .
I try to achive this in several steps to reduce complexity. The first step was to make a transparent 100% width, 100% height div inside anotherone, this should be portable to IE6+ and Firefox. In firefox it works fine, but in IE6 is a mess, the contained div height is much less than 100% of the container div.
Can anybody help me to make this work on IE6?
Can anybody tell me if is posible to make the transparent div fullscreen inside the other div?
Here is the code:
- <html>
-
-
</html>
-
<body>
-
<form>
-
<input type="text" size="20"/>
-
<input type="buttom" value="Enviar"/>
-
</form>
-
-
<div style="position:relative; top: 0; left:0; background-color:#0000ff; border:1;">
-
-
<div style="position:absolute; top:0;left:0; height:100%; width:100%; background-color:#aaaaaa; filter: alpha(opacity=80, finishopacity=10; style=0);z-index:999;opacity:0.8">
-
-
</div>
-
<div style="position:relative; background-color:#ffffff; opacity:1; margin: 0 auto 0 auto; width:220; height:200; text-align:center; z-index:1000">
-
First trial
-
</div>
-
-
-
</div>
-
-
</body>