On Mar 30, 2007, at 10:40 PM, Zoe M. Gillenwater wrote: > I'm suffering from a cold, which often results in me thinking and > doing > very ridiculous things. So, I'd like to make sure I'm not missing > something very obvious in regards to CSS for a page I'm working on. > > I just need to confirm that there is no way to change the containing > block that an element refers to for its width, correct? > > Note that I am *not* referring to a containing block for the sake of > positioning (for in that case, it is possible and quite easy to change > the containing block). Rather, I'm interested in whether it is > possible > to give a parent div a min-width, but have its child div not look > to the > parent div for its width but instead look to the viewport, or body > element. I'm pretty sure it is not possible for the child div to > "skip" > its parent div and use the viewport as its containing block for > calculating its width, but like I said, I'm not really thinking > straight > right now. :-)
In that case, the width of the child div will always depend on the computed width of the parent, unless the child div is absolute positioned (and the parent is _not_ relative/absolute pos). Unless you are Internet Explorer, then you, Zoe, are probably thinking straight. That browser does all kind of weird things, as you know. > > Thanks for any help you can provide this sick lady. Take care of your cold. Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/