Then shouldn't the orange box max out at 300px of it's parent; http://www.thecreativesheep.ca/wdp/wip/example_width.htm ?


Tom Livingston <mailto:tom...@gmail.com>
Friday, January 09, 2015 4:31 PM


crestchristop...@gmail.com <mailto:crestchristop...@gmail.com>

    If a style has width:50% and max-width:300px, and max-width always
    overrides the width, which in this case is 50%, why have width?


The element will be 50% of it's parent until it reaches it's maximum.
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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