Paul Novitski wrote:
At 03:16 PM 5/23/2005, Gunlaug_Sørtun wrote:

Filling stylesheets with a lot of different image-dimensions rarely
 ever makes good sense.

My experience and conclusions are just the opposite:  I like keeping
image dimensions in the stylesheet along with all of the other dimensions of objects on the page, and I find that the stylesheet downloads before the images so things don't jump about.

Yes, there are different opinions and experiences around:
<http://www.mezzoblue.com/archives/2005/05/10/image_attrib/>
...a few (over 50) comments -- all over the place.

The process of recognizing image-dimensions during download isn't
uniform across browser-land, and connection speed and time-out factors
are making it somewhat of a guesswork at times.
I often see images that looks distorted in (wouldn't you know) Internet
Explorer, on my 50Kb call-up connection. My own pages are no exception,
so I'm no stranger to these problems.

It also matters a lot whether an image's own dimensions are defined
(1:1), or some adjustments (scaling) are supposed to take place.
Browsers usually present images the same at the end if there's no
scaling involved, even if no dimensions are defined anywhere. If, in
rare cases, there are distortions, then IE is involved.

The download time is critical if IE is to scale properly. Proportional
scaling where only one dimension can be predefined, is a weak point in
IE. Even em and pixel-defined height/width image-dimensions may end up
being distorted in IE because of time-out, when dimensions are defined
anywhere but as html-attributes and/or inline styles.

Most non-MSIE browsers are cured in their latest versions, but MSIE6 and
slow connections is still a known combination on the web.
Defining dimensions for non-scaling images in external stylesheets is a
waste IMO, and defining scaling images in external stylesheets is a
gamble. I don't like waste and I'm not a gambler, so I'm fine-tuning my
own preferences.

regards
        Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to