This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > February 2004 > overflow:hidden and embeded position:relative





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author overflow:hidden and embeded position:relative
waste

2004-02-16, 8:29 am

Hello!
This simple code won't work with IE. Can somebody iluminate me: why?
Is it IE bug? I write it to gain possibility to move a layer (with
JavaScreipt), but only within a parent (not position:absolute) layer.
Or maybe there is a better way than a position:relative to do it?

<div style="width:100px; height:50px; border:4px solid red;
overflow:hidden">
<div style="position:relative; width:80px; height:200px; border:4px
solid green;">
IT IS WORKING WITH MOZILLA, BUT IT'S NOT WORKING WITH IE.
</div>
</div>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews