Re: input element - absolute positioning - determing width with left and right

Anne van Kesteren wrote:
> So form controls are currently treated a bit like replaced elements, 
> much like images and per the specification they should just get their 
> intrinsic width for the above case. For example
> 
>   <img height="200" width="200" src="..." alt="...">
> 
> absolutely positioned with 'left' and 'right' set to zero will still get 
> a width of 200px.

Yes, but because it's overconstrained, so the value for "right" is ignored (if 
direction is "ltr").  That is, in this case you have specified all three of 
width, left, and right....

-Boris

Received on Thursday, 7 September 2006 07:26:51 UTC