Adam Ducker wrote:
> Ellie,
> 
> I'm interested to know what doctype are you using (if any).  The method 
> I outlined works fine for me in all browsers on XHTML transitional but 
> my knowledge of any quirks with regular HTML has softened over the last 
> few years.
> 
> It seems like "left: 0;" and "right: 0;" in conjunction would be 
> superfluous.
> 
> -Adam Ducker

Adam,

For absolutely positioned elements left:0;right:0 is essentially the
same thing as width:100%...except that IE6 won't recognize it as such,
honoring /only/ the right /or/ the left setting. Under normal
circumstances, width:100% will give you the effect you want...unless
you're using borders, margins, or padding, in which case of course, the
width of your box becomes width:100%+borders+margin+padding.

In Ellie's case, width:100% would have probably done the trick.

Hope it helps.
Bill



-- 
/**
 * Bill Brown
 * TheHolierGrail.com & MacNimble.com
 * From dot concept...to dot com...since 1999.
 ***********************************************/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to