CSS: min-width & IE

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

CSS: min-width & IE

Post by nigma »

I looked on w3schools and it doesn't say anything about the css min-width property not working in IE, but it isn't working for me.

Anyone know how to do the equiv of min-width but for IE?
evilMind
Forum Contributor
Posts: 145
Joined: Fri Sep 19, 2003 10:09 am
Location: Earth

Post by evilMind »

I've had problems with this before and I never really got around to looking for it until now... Check out http://www.xs4all.nl/~ppk/css2tests/intro.html. That link seems to have the best browser-compatibility list that I've seen so far. (btw, the chart did indicate that min-width & min-height are only supported by Mozilla and opera. :( That sucks because it's a nice feature to have.)
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

http://www.svendtofte.com/code/max_width_in_ie/ describes a work around using IE's expression() property. I've not tried it out so i'm not vouching for it ;)
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Lol, I actually came upon this site when doing google searches before posting, but "blew it off" to soon.

Thanks!
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

And there's nothing worse than blowing off too soon ;)
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Amen to that =)
Post Reply