You are here: Resize an image to fit a CSS without knowing if it is portrait or landscape shape « HTML « IT news, forums, messages
Resize an image to fit a CSS without knowing if it is portrait or landscape shape

Posted by zorro on 07/06/07 16:06

Hello,
I have a square shaped CSS and I would like to resize a picture to fit
it. The problem is that I do not know if it is a portrait or landscape
shape picture, so I do not know whether it is the height or the width
that must be resize to 100% of the CSS. Obviously, I would like to keep
the aspect ratio of the original picture.
Is it possible to do what I want?
Thank you
David L.

 

Navigation:

[Reply to this 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

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