--- Gunlaug Sørtun <[EMAIL PROTECTED]> wrote: > Elli Vizcaino wrote: > > > http://e7flux.com/index3.html > > > http://e7flux.com/css/e7flux.css > > > Can someone explain why it's working and basically > if I just need to > > scrap the min-width properties I have in the CSS > as it seems to me > > based on this discussion that it's unnecessary? My > guess is that the > > reason it's working is because the container I > have my content in is > > set to a specified width? > > Exactly. Declaring a width _there_ using an > absolute-sized unit - px, > turns it into a fixed-width layout. > > Once you declare a fixed 'width' on a container, > elements inside it will > have a fixed width - fixed relatively to that > container-width or on > their own. Declaring 'min-width' anywhere doesn't > have any effect in any > browser in such a scenario, since the width itself > doesn't change no > matter what. > > A 'min-width' on an element will override 'width' > only if 'width' is > smaller than 'min-width' for that element. That > happens only if the > 'width' is flexible - one way or another, or a too > small 'width' is > declared. > > regards > Georg > -- > http://www.gunlaug.no >
Thanks for the clarification! Elli ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow ______________________________________________________________________ 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/