You are here: Re: want max width and max height as long as not exceed 100px « HTML « IT news, forums, messages
Re: want max width and max height as long as not exceed 100px

Posted by dorayme on 10/22/07 22:56

In article
<1193093250.878661.162630@y27g2000pre.googlegroups.com>,
Summercool <Summercoolness@gmail.com> wrote:

> I wonder to show the images in a table format... and to set a box of
> width 100px and height 100px, is there a way?
>
> Right now, if I set width to 100px, then height can be 180px...
>
> If I set height to 100px, then width can be 260px...
>
> What I really want is, to have the greatest width and greatest height
> so long as none of them exceed 100px, and maintaining the aspect
> ratio. (I don't want to set both width and height to 100px for the
> aspect ratio will be weird...)
>
> so powerful as HTML and CSS is, is the above possible?

You cannot dictate to table cells their sizes and expect
consistent results regardless of the size of the content across
browsers.

What is the closest webpage you have seen on the internet that
satisfies you. And what further things would you like. In other
words, a url of some sort might help.

--
dorayme

 

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

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