![]() |
IE doesn't follow max-width in css
anyone has a workaround?
|
100%
:thumbsup |
#foo {
max-width: 400px; width: expression(getElementById('foo').width > 400 ? '400px' : 'auto'); } Change dimensions for what you need ;) Essentially, IE uses expression() in css to allow Javascript. You should be able to modify the above to fit what ya need :P |
All times are GMT -7. The time now is 01:09 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc