jack fredricks wrote:
is it ok to move an image's width and height attribs into a style sheet?
I'm old skool, and I was brainwashed into making sure I always
specify them in the html source (to aid with page render pre image
download).
At 03:16 PM 5/23/2005, Gunlaug_Sørtun wrote:
I think the old school method is still the most efficient one. Images
are one of the few/only elements I often use html width/height
attributes on, and/or write inline styles for. Makes pages less jumpy on
slow connections in "some" browsers, and ease maintenance.
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.
The only dimensions that the W3C compells me to keep in html are the rows &
cols of a textarea. I comply, using reasonable dimensions that will work
if the page is viewed in plain text, but then I redefine those dimensions
more precisely in CSS.
Regards,
Paul
______________________________________________________________________
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/