% width floats within absolute positioned element

Hi,

What is correct rendering for these test cases?

   <!doctype html>
   <title>001</title>
   <style>
    div { position:absolute; background:yellow; }
    p { float:left; width:50%; background:blue; color:white; }
   </style>
   <div>
    <p>What should happen here?</p>
   </div>

   <!doctype html>
   <title>002</title>
   <style>
    div { position:absolute; background:yellow; }
    p { float:left; width:50%; background:blue; color:white; }
    span { float:right; }
   </style>
   <div>
    <p>What should happen here?</p>
    <span></span>
   </div>

Should the wide should the DIV and the P be? Should the SPAN make any 
difference?

Browsers aren't interoperable on the above two tests and I don't know which 
is correct.

Regards,
Simon Pieters

_________________________________________________________________
Leta efter bilder på Red Hot Chili Peppers http://search.live.com/images/

Received on Sunday, 10 December 2006 22:27:17 UTC