Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Min/Max Width in IE6 without javascript?

Is it possible to get min/max width working in IE6 without the use of javascript?

On a somewhat related note, does Google Chrome not understand,

<!--[if IE 6]><!-->
<!--<![endif]-->

or am I just screwing up that code. Thanks.


1 Answers

First question: no. You can sorta hack it using tables and images, but not in any way that approaches the ease of use of max-/min-width.

Second question: no - it sees them the same as every other non-IE browser, as comments. Perhaps you wanted:

<!--[if IE 6]>
something IE6 should see
<![endif]-->

Note how the XML/HTML comment begins on the first line and doesn't end until the last.

like image 71
Shog9 Avatar answered Jan 02 '26 02:01

Shog9



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!