I've got a background graphic designated in my style sheet - is there a way
to apply an alt and/or title tag to that or would I need to just not make it
a background image? My intuition is the latter - but just if there is a
slight chance..
No, there is no way to apply ALT to the background images, only for IMG tags.
Max.
2008/3/24, Kristine Cummins [EMAIL PROTECTED]:
I've got a background graphic designated in my style sheet – is there a way
to apply an alt and/or title tag to that or would I need to just not make it
a
You can only apply the alt attribute to img elements. If you need to provide
an alt attribute to a CSS background image then the background image should
instead be an img element.
Use the img element for images related to the content and keep all images
related to layout in your CSS.
-
Kristine Cummins skrev:
I’ve got a background graphic designated in my style sheet
Backgrounds are decorative and do not need alt *attributes*. Therefore
CSS does not have a way of providing alternate text.
If it is part of the content and should be seen by search engine bots
and screen
You can only apply the alt attribute to img elements.
13.8 How to specify alternate text [1]
The alt attribute must be specified for the IMG and AREA elements. It is
optional for the INPUT and APPLET elements.
http://www.w3.org/TR/html401/struct/objects.html#h-13.8
--
Regards,
Thierry |
I always remind people if music auto starts the potential customers
can't come to your site at work because they won't want their boss to
hear the music blaring.
Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079
dwain wrote:
On 3/17/08, *kevin
I would also make sure a way of turning the music off is immediately
apparent. Nothing is more annoying than having to look all over to find off
button
Looks like someone borrowed a thread name? lol
Bruce
bkdesign solutions
- Original Message -
From: Michael Horowitz [EMAIL PROTECTED]
Hi all,
I was wondering if anyone could tell me or could point me to a reference of
the differences in web page rendering between operating systems for Safari
3.1
Ideally I'd like to test for cross browser rendering issues on a Windows
platform.
Are there significant differences in the way a
Hi,
If it's a CSS background image then it's not content and doesn't have an
alt attribute.
(The non-preferred alternative is to to put it in an img tag with alt=)
If it IS content, it should be in an image tag rather than CSS background
image, with the alt attribute describing the content of
Hello,
I am currently working on a site that has a small flash file for decorative
purposes. I inherited the site and want to make it web standards compliant.
The problem: the XHTML code in the site is using the embed tag for the
flash. Is there a way to place swf files into a XHTML webpage that
Hi Dory,
You can use '*object*' tag for embedding flash files.
Refer this link: http://www.alistapart.com/articles/flashsatay
Thanks!
Venkatesan M
On 3/25/08, Dory [EMAIL PROTECTED] wrote:
Hello,
I am currently working on a site that has a small flash file for
decorative purposes. I
use javascript to insert the flash, which will also auto activate the
flash in IE and do some flash player detection
something like swfobject would do the trick
http://code.google.com/p/swfobject/
On Tue, Mar 25, 2008 at 4:09 PM, Mahendran Venkatesan
[EMAIL PROTECTED] wrote:
Hi Dory,
You can
12 matches
Mail list logo