On 11/28/06, Diego Chagastelles <[EMAIL PROTECTED]> wrote:
> I want to align an image both in vertical and horizontal, and, in the same
> time, garantee it will be the highest as possible considerating it is inside
> a div, but without distortion: keeping the original proportion. How can I do
> that?

Put it first in the source inside the div and give it the rule: display: block.

Or put it first in source and float it left or right, depending on the
exact effect you want.


-- 
Ed Seedhouse
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to