Bruce Gilbert wrote:
I don't suppose there is a way to give an image an alt tag when you
are calling the image as a background in CSS is there? <div
id="image"></div> or is the rule of thumb, if the image requires an
alt tag, specify in the html??
TIA
it's no good way but you can try
<div class="image01"><span class="alt">Alternative text</span></div>
div#image01 {background-image: url("your_image.png");}
div#image01 span.alt {display: none;}
it'll behave in simmilar way to alt atribute of the img tag in text
browsers...
luci
--
:. :.: ::: :
luciash d' being aka luci alias Lukas Masek
______________________________________________________________________
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/