Karl Swedberg wrote:
Another plugin that might be helpful is Dave Cardwell's jqMinMax, which adds support for min- and max-height (and width) to browsers that don't support them in their CSS implementations (notably, IE6).

http://davecardwell.co.uk/javascript/jquery/plugins/jquery-minmax/


And just as a note: As long as you do not delare overflow to something other than visible, IE 6 implements width/height as min-width/min-height.

I'm using this for Tabs for example:

.tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
}
*>.tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}


--Klaus

Reply via email to