bazz
03-22-2005, 03:55 PM
I have need to use the min height attrubute but IE doesn't seem to like it - it just ignores it.
Is there a hack or something that would help?
Bazz
Is there a hack or something that would help?
Bazz
|
||||
is there a hack for IE to do min-height?bazz 03-22-2005, 03:55 PM I have need to use the min height attrubute but IE doesn't seem to like it - it just ignores it. Is there a hack or something that would help? Bazz chilipie 03-22-2005, 04:39 PM Min/max-height does not work in IE. http://www.doxdesk.com/software/js/minmax.html brothercake 03-22-2005, 07:31 PM You don't need JS to do it - even though IE doesn't support min-height, its implementation of height is almost identical to the correct implementation of min-height. So: element { min-height:100px; } * html element { height:100px; } Kurashu 03-22-2005, 11:38 PM Or you could do element {height: 100px} parent>element {min-height: 100px} Since IE doesn't use the > selectors. brothercake 03-23-2005, 12:31 AM But IE for Mac does support that selector, yet it doesn't support min-height bazz 03-23-2005, 11:10 AM element { min-height:100px; } * html element { height:100px; } Thnanks brothercake, I'll try that. I am assuming that element is a generic term that I should change for my specifics but I'll probably find that out shortly anyway when I try it. yup, I nearly got it sorted when I changed 'element' to the name of my div. In IE, I get a new issue when I roll over my navmenu. the div height reduces by about 40px! I'll start a new thread for that. Bazz |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum