WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Relative image resizing?

Reply
  Thread Tools Display Modes
Old 11th May 07, 11:04 AM   #1
mrSimon
WLC Member
 
Join Date: Apr 2007
Posts: 4
Default Relative image resizing?

.narrowcolumn img {
max-width: 100%;
}


I've applied a max-width property to all 'img' tag's within a container, to ensure they do not overflow past it. However, in some browsers, the height isn't resized at a relative ratio.

IE

Real image
1000x800

Rescaled image
Target: 500x400
Some browsers: 500x800


Screenshot

Is there any way to fix this?
mrSimon is offline   Reply With Quote
Old 11th May 07, 07:20 PM   #2
dbldutch
WLC Lover
 
Join Date: Jul 2006
Posts: 127
Default Re: Relative image resizing?

Every browsers does not support "max-width" or "min-width".
dbldutch is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Image Gallery Problem Insane_Edna CSS 0 19th February 07 02:39 PM
split image reconstruction - tables or css? (n00b) konartis CSS 6 13th November 06 11:41 PM
ul li image not displaying? shauntaylor88 CSS 1 29th September 06 07:31 AM
List problem... willsmith727 CSS 1 1st September 06 01:54 PM
Background Image Not Showing revul CSS 5 20th May 06 09:10 PM


All times are GMT. The time now is 02:54 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.