|
|
Min-width in MSIE 7 (could someone help me out?)
|
|
|
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Hi,
I'm working on a layout right now and I'm using the min-width property. I've researched a few solutions, and I found one that worked, but it relies on the star select hack, which I understand no longer works in MSIE 7, except in quirks mode. Do any of you guys have any min-width solutions that work with MSIE 6 and 7?
Here is my test case. And here is the same file with a strict doctype.
If any of you guys have access to MSIE 7, can you load the pages, and make the page width smaller and tell me if the min-width is taking effect? For reference, the page works fine in WebKit, Mozilla, and MSIE 6.
Thanks!
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status:
Offline
|
|
IE7 supports min-width now, so just use your * html hack for IE6 and you should be fine.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Apr 2004
Status:
Offline
|
|
my favorite one is the javascript hack for css, which allows you to first set a regular value (for other browsers) and then (somewhere after it in the file) set width: expression() - with some javascript value in the parentheses - which other browsers will ignore, but IE will evaluate. 'course, the better solution would obviously be as stated above that IE 7 should fix the min-width thing, so not to hack it at all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|