Andy Shaw wrote:
> My first post to this list so please be gentle!

Hallo there... :-)

> OK can anyone tell me what is going off with the following code....

Look closely...

<div style="position:relative; border:5px solid green; padding:10px;
margin:10px; width: 100%/* add this width */;">
  <div style="position:absolute; top:0px; left:0px; width:100%;
height:100%; border:1px solid blue">&nbsp;
  </div>

...nothing wrong with your code, but IE/win needs a 'hasLayout'[1]
trigger so it knows the element should be taken "seriously" ;-)

It's just one of those bugs/features in MSIE that's making our work a
little more "fun" at times.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to