Chervontsev Posted July 24, 2009 Report Share Posted July 24, 2009 ЗдравствуйтеНикак не могу преодолеть проблему.В шапке есть хайрезовая картинка:<div style="width:100%; height:200px; overflow:hidden;"> <img src="img/pic.jpg" style="max-width:100%;" /></div>Как сделать так, чтобы картинка ресайзилась в IE6?В IE7 помогла max-width:100%Нарыл в и-нете фикс для этой проблемы:img { -ms-interpolation-mode: bicubic; }Но он у меня почему-то не работаетЕсть ли какие-нибудь решения/фиксы/хаки для этой проблемы? Quote Link to comment Share on other sites More sharing options...
0 Chervontsev Posted July 24, 2009 Author Report Share Posted July 24, 2009 Сам нашел решение, чуть позже отпишу Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted July 24, 2009 Report Share Posted July 24, 2009 Да, напиши пожалуйста полный код решение Quote Link to comment Share on other sites More sharing options...
0 DJik Posted August 28, 2009 Report Share Posted August 28, 2009 (edited) Народ отпишите плз о решение данной проблемы? Edited August 28, 2009 by DJik Quote Link to comment Share on other sites More sharing options...
0 VJiK Posted August 29, 2009 Report Share Posted August 29, 2009 Я делал с помощью ещё одного дива:<div class="big-photo"><div><img src="img.jpg" width="100%" alt=""></div></div>Стили:.b-specoffers .big-photo { height: 534px; overflow: hidden; }.b-specoffers .big-photo DIV { height: 10000px; } Quote Link to comment Share on other sites More sharing options...
0 VJiK Posted September 2, 2009 Report Share Posted September 2, 2009 Написал статью "Изображение с фиксированной высотой и 100% шириной" Quote Link to comment Share on other sites More sharing options...
0 mishka Posted September 2, 2009 Report Share Posted September 2, 2009 чтото я непонял этого: Бывают случаи, когда необходимо показать изображение, которое тянется по ширине на 100%, но при этом имеет фиксированную высоту. Также изображение должно сохранять свои пропорции.изображение тянется по ширине, высота строго задана. И как при этом оно сохранит пропорции? Quote Link to comment Share on other sites More sharing options...
0 VJiK Posted September 2, 2009 Report Share Posted September 2, 2009 (edited) То, что не влазит в высоту - обрезается.PS Сделал пояснение в статье Edited September 2, 2009 by VJiK Quote Link to comment Share on other sites More sharing options...
Question
Chervontsev
Здравствуйте
Никак не могу преодолеть проблему.
В шапке есть хайрезовая картинка:
Как сделать так, чтобы картинка ресайзилась в IE6?
В IE7 помогла max-width:100%
Нарыл в и-нете фикс для этой проблемы:
img { -ms-interpolation-mode: bicubic; }Но он у меня почему-то не работает
Есть ли какие-нибудь решения/фиксы/хаки для этой проблемы?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.