Hi, Thank you all for your answers! (and thanks a lot Georg for the good address!) It seems I've touched a sensible subject... In fact the solution proposed by my client is a terrible one (yeah! clients that make technical decisions! where are we going to?! ;-) : it puts the whole content of the page in a single cell table, and in this cell he adds an empty div to force the min-width (and all that in a wonderfully tableless site :-((( Their solution presents the two "derivations" : bad use of tables and of divs.... As for much of your answers, even if it would be better not to use javascript expressions in the CSS, that seems to be a good, logical solution for IE6 and later (expecting that IE7 will correctly support max/min-width).
Thanks again !!! Angela -----Message d'origine----- De : listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] la part de Samuel Richardson Envoyé : mercredi 12 avril 2006 01:44 À : wsg@webstandardsgroup.org Objet : Re: [WSG] Max/min width for IE Yes but he's talking about using a DIV to force open an area of the page. It doesn't matter if you use a div or a table because in both cases you're using an HTML element as presentation (even if you can't see it). Joseph Bernhardt wrote: > W3C - "Tables should not be used purely as a means to layout document > content as this may present problems when rendering to non-visual media. > Additionally, when used with graphics, these tables may force users to > scroll horizontally to view a table designed on a system with a larger > display. To minimize these problems, authors should use style sheets > <../present/styles.html> to control layout rather than tables." > > Using a table in this case will not present any problems, no. But > (correct me if I am wrong), the main purpose of a table was originally > designed to display a relationship between multiple sets of data (ie: > spreadsheet). A table can, in fact, be used for display purposes when > containing relevant data but for the problem at hand I am sticking with > my recommendation of a div. > Thanks though! > > Jough > > Samuel Richardson wrote: > >> Might as well just use a table in that case. >> >> >> Joseph Bernhardt wrote: >> >>> Eww! Using HTML elements to solve a display issue? I know where you >>> are coming from, I have had 'clients' like this before, too. >>> >>> I have had to use MS CSS expressions to solve the issue of position >>> fixed and found it relatively easy to use, although I would have >>> rather not used it had there been another way. As far as min/max >>> width, have you tried placing a nested div within the area to be >>> min-width'd with padding of the amount to be width'd and contents of >>> a non-breaking space? Sound's like that might work to me, anyone else? >>> >>> Jough >>> >>> >>> Ricci Angela wrote: >>> >>>> Hello everybody >>>> >>>> Following the late discussion about fluid/elastic layouts, I was >>>> wondered if somebody out there has some feedback concerning the use >>>> of Microsoft's "Dynamic properties" proprietary solution for fixing >>>> the lack of min/max-width support. >>>> After some discussion with my client, they "impose" me the use >>>> of a one-cell table to fix this for IE, but I really think it is a >>>> pitty to have to do it... And, besides a javascript solution, all >>>> I've found out was MS dynamic properties. If somebody already used >>>> those, please could you share your experiences ? >>>> >>>> Thanks a lot!!!! >>>> Angela >>>> ****************************************************** >>>> The discussion list for http://webstandardsgroup.org/ >>>> >>>> See http://webstandardsgroup.org/mail/guidelines.cfm >>>> for some hints on posting to the list & getting help >>>> ****************************************************** >>>> >>> >>> >>> >>> ****************************************************** >>> The discussion list for http://webstandardsgroup.org/ >>> >>> See http://webstandardsgroup.org/mail/guidelines.cfm >>> for some hints on posting to the list & getting help >>> ****************************************************** >>> >>> >> ****************************************************** >> The discussion list for http://webstandardsgroup.org/ >> >> See http://webstandardsgroup.org/mail/guidelines.cfm >> for some hints on posting to the list & getting help >> ****************************************************** >> >> >> > > > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > > ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************