Reply to Re: limit image size

Your name:

Reply:


Posted by Nikko on 06/23/06 08:03

Thanks for your answer
Yes, you're right, I tried max-height, and it works with firefox but not IE.
Do you know a max-height workaround for IE with img tag?


jojo wrote:
> Nikko schrieb:
>> Hi,
>> Is it possible to do this with css?
>> I want to limit height image to a certain value:
>> If the original image's height is larger than desired value, show
>> image with height equals to desired value.
>> If the original image's height is smaller than desired value, do
>> nothing and show image with this original height size.
>>
>> thank in advance for your help.
>> Nikko
>
> img {max-height:50px;}
>
> But it doesn't work with all browsers... I do not know which browsers do
> support max-height and which do not. But AFAIK ie doesn't support it yet.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация