Forum Moderators: open
My page mock up is located here: <snip>
The buttons on that page are part of the graphic which I want to avoid.
Any expert suggestions?
[edited by: Woz at 2:29 am (utc) on June 27, 2005]
[edit reason] No URLs please, see Tos#13 [/edit]
Check our CSS forum - literally hundreds of posts discussing various details of this approach. Often you need to change <a> to display:block and give the anchor element a width. When you get it working, it's a thing of beauty!
Note to rocknbil --
Only IE will display alt attribute text -- and that is a non-standard behavior that may not go forward in newer versions. For the more standards compliant browsers, you need to use a title attribute to get tool-tip text. And to date, search engines are not looking at title attributes because they are so rare at this point.
<img src="yourimage.jpg" alt="This is my alt tag. When you mouse over the image, browsers will display this text and it can also be read by search engines.">
Semantically this is not quite true. The alt attribute tells assistive browsers what to say etc. with images - it is an alternative text to the image.
The title attribute technically is the mouseover image tooltip text, although most (if not all) browsers these days will tooltop alt text.