05-11-2003, 04:13 AM
Just as stated above -- how do you hide images from text only and handicap accessible browser? It looks kinda' silly when all that shows up is my alt or long description -- and I don't want them to have a specific site lite... I want them to use the same site, enjoy it, and not have a line that says 'image of girl in red here'. Hopefully you guys can shed some light on this one for me.
I'm working in XHTML here, by the way.
05-11-2003, 01:44 PM
Think about the purpose of the image - the ALT attribute is intended to fulfil the same purpose when the image is not displayed, so what you're after is to describe the image so that the same information is imparted.
But if you can't or if it seems pointless - if the image is purely decorative and imparts no information at all, then use null alt text - alt=""
You can also make "imageless-images" using CSS - a DIV or other container with a specified width and height and the image tiled in as a background-image - that will only show up in modern graphical browsers.
05-12-2003, 03:07 AM
Thank you brothercake -- now, I have been using style sheets for a little while, but I typically don't use <DIV> tags -- mostly out of ignorance... are these tags purely to divide up code? I imagine not, what is the proper use of them?