[WSG] Emulating min-width

2005-01-31 Thread Rob Mientjes
On Mon, 31 Jan 2005 00:19:43 +, David R <[EMAIL PROTECTED]> wrote: > Comments? I try not to use extraneous DIVs, and the star html selector hack has been a loyal servant to that. p { min-width: 620px; } * html p { width: 620px; } /* IE thinks there's a containing element around HTML */ -- Ch

Re: [WSG] Emulating min-width

2005-01-31 Thread Philippe Wittenbergh
On 31 Jan 2005, at 12:49 pm, Andrew Krespanis wrote: For min/max width/height in IE5+, I use this: http://www.doxdesk.com/software/js/minmax.html It's simple, it works, what more could you ask for? Hmm - I had IE 6 crashing on it last time I used this script. Granted, it was pre version 1 then. Car

Re: [WSG] Emulating min-width

2005-01-30 Thread Andrew Krespanis
For min/max width/height in IE5+, I use this: http://www.doxdesk.com/software/js/minmax.html It's simple, it works, what more could you ask for? Andrew. http://leftjustified.net/ ** The discussion list for http:

Re: [WSG] Emulating min-width

2005-01-30 Thread Gunlaug Sørtun
David R wrote: I'm just looking for comments on a concept I thought for emulating min-width in IE: !!! #elementToHaveMinWidth { width: 40%; } #minWidthMaker { width: 620px; } The end result being a div#elementToHaveMinWidth never going below 620px width My experience with this type of "spacer" is

Re: [WSG] Emulating min-width

2005-01-30 Thread Paul Novitski
At 04:19 PM 1/30/2005, David R wrote: I'm just looking for comments on a concept I thought for emulating min-width in IE: Content #elementToHaveMinWidth { width: 40%; } #minWidthMaker { width: 620px; } David, From the perspective of semantics, you're adding something to your HTML marku

[WSG] Emulating min-width

2005-01-30 Thread David R
'Lo guys I'm just looking for comments on a concept I thought for emulating min-width in IE: Content #elementToHaveMinWidth { width: 40%; } #minWidthMaker { width: 620px; } The end result being a div#elementToHaveMinWidth never going below 620px width I guess the same could be used to