Apparently there was a table there as well, and max-width does not apply to a table very nicely in Safari or Internet Explorer. Can anyone offer some more explanation on this?
Thanks, Jack On Mon, Mar 23, 2009 at 9:50 AM, Jack Blankenships <learningcssindet...@gmail.com> wrote: > Apparently there was a table there as well, and max-width does not > apply to a table very nicely in Safari or Internet Explorer. Can > anyone offer some more explanation on this? > > Thanks, > Jack > > On Mon, Mar 23, 2009 at 9:35 AM, Theophan Dort <theop...@bellsouth.net> wrote: >> Sorry, I meant to include a link to the file: >> >> http://www.theophan.net/maxwidthtest.html >> >> Theophan >> >> >> On Mar 23, 2009, at 11:20 AM, Theophan Dort wrote: >> >>> I'm not an expert, just a volunteer webmaster for a couple of churches, >>> but on my Mac with Safari (3.2.1) that works exactly as it should. >>> >>> FYI. >>> >>> Theophan >>> >>> >>> On Mar 23, 2009, at 10:49 AM, Jack Blankenships wrote: >>> >>>> Is there a way to get a max-width attribute to work in Safari and >>>> Internet Explorer? Supposedly both browsers suppourt it, but I can't >>>> find an example of either doing so. >>>> >>>> In theory I would like to add a class to a div like so: >>>> >>>> .container { >>>> width: 100%; >>>> max-width: 960px; >>>> } >>>> >>>> I would expect the application of this class to a div element to >>>> result in an object that fills 100% of the available viewport up to a >>>> maximum of 960px. Am I missing something as to why Safari and >>>> Internet Explorer do not react as the other browsers do? >>>> >>>> Thanks, >>>> Jack >>>> ______________________________________________________________________ >>>> css-discuss [cs...@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/ >>> >> >> > ______________________________________________________________________ css-discuss [cs...@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/