I’ve posted a example about make min-width work on IE6 before, and this post is about giving you a bare bone template with min-width support so that you can simply grab the code for your layout easily.
Though the CSS / HTML seems tricky for some developers, I still think this a far better solution than the extremely expensive expression(); solution.
the template is available here http://www.hedgerwow.com/360/bugs/css-only-min_width_ie6_2..html
Update:this one works even better for me.
http://www.hedgerwow.com/360/dhtml/css-min-width-final.html
Cheers
blankzheng | 09-Jul-08 at 5:48 pm | Permalink
It’s a very good idea.
Demix | 10-Jul-08 at 9:21 am | Permalink
Great!I’m looking for this method for a long time
dex online | 10-Oct-08 at 12:28 pm | Permalink
width: expression(this.width > 250 ? 250 : true); for img max width in IE6
wow gold | 18-Feb-09 at 11:27 pm | Permalink
Every man is the architect of his own fortune
perdele si draperii | 31-Mar-09 at 11:06 am | Permalink
CSS hacks sucks, we don’t need IE6
kiran | 22-Apr-09 at 4:53 am | Permalink
its seems godd when i have worked on this code onchange event is not working can any one give some suggesition min-width
Jens Grochtdreis | 12-May-09 at 12:08 am | Permalink
It would have been nice if you had described what you have done. Is it necessary to have two divs? with negative margins? Has the structure anything to do with the outcome? Where are the points to modify?
last chaos gold | 10-Jun-09 at 11:37 pm | Permalink
good