Now that I have mastered putting an image in a site using CSS do we just
throw out the img tag in standards based xhtml.
Not at all - you should still use img for any image which forms part
of the document's *content*. Only decorative images should be inserted
via CSS.
And how does the use of
I assume you mean you are setting a background image using css - now what if
you want another image on top - you use img tag for that.
For example have a look at http://qps.shockmedia.com.au/About-QPS - if you
resize the browser window you will see that the logo appears on top of the
image on the
Personally, I think the img tag has the correct semantics (and attributes) for
an image. I'd just keep them for images in paragraphs and use css background
for everything else.
An object is just that!
-Original Message-
From: Michael Horowitz [EMAIL PROTECTED]
Sent: Monday, December
Michael Horowitz wrote:
Now that I have mastered putting an image in a site using CSS do we
just throw out the img tag in standards based xhtml. And how does the
use of css compare with use of the object tag
http://www.webstandards.org/learn/articles/askw3c/jun2004/ I found in
my google