Forum Moderators: open

Message Too Old, No Replies

Alt tagging background image?

Am I being really dense?

         

limbo

9:55 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I tried the below quite hopefully.

<td height="50" background="logo.jpg" alt="image:logo"></td>

no luck

anybody know if it is possible?

Ta

Liam

chris_f

10:03 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think your trying the impossible. I've checked search engines for this before.

Sorry!
ATOB
Chris

le_gber

10:03 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not quite sure it's possible Limbo, because the alt is a property for the <img> tag and not the <td> tag.

Leo

lazerzubb

10:06 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Quick tip:
style="background-image:url(/background.gif);

Is the correct W3c tag (The tag your using will not validate)

limbo

10:11 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As I suspected :(

I will alt tag a transparent image over the banner, in the table cell above. I suppose it might confuse a few 'right clickers' who want to nick my painstakingly created banner images :)

Thanks

Liam

All ways look on the bright side of life, pheep, pheep, peep pep, pep peep, peep.........

[edited by: limbo at 10:15 am (utc) on July 4, 2003]

limbo

10:14 am on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Quick tip:
style="background-image:url(/background.gif);
Is the correct W3c tag (The tag your using will not validate)

Thanks Lazerzubb

I am correcting alot of mistrakes and code bloat out of our pages at the moment so I'll look into it - DW vs hand coding.......

g1smd

10:54 pm on Jul 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That alt tag isn't a tag. It is an attribute.