There's also the empty <span></span> after the text in the link approach. You can use CSS to make the span show your image over the text real easy. Do a google search on the technique and you'll find plenty of examples. I don't remember who came up with it originally, but besides the extra empty element, its squeaky clean.

Thierry Koblentz wrote:

Joseph R. B. Taylor wrote:
A simple approach to this dilemma (really simple in fact)

<a href="my_link" title="my_link_description"><img src="my_image"
alt="my_link_description" /></a>

This is a JS approach that keeps the markup *clean* (no IMG elements, pure
text).
http://tjkdesign.com/articles/TJK_tipMenu_demo.asp

Using IMGs in the markup and keeping the CSS styles works as well and makes
it JS free.

---
Regards,
Thierry | www.TJKDesign.com



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




--

Joseph R. B. Taylor
*Sites by Joe, LLC*
/Custom Web Design & Development/
http://sitesbyjoe.com
(609) 335-3076
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
begin:vcard
fn:Joseph R. B. Taylor
n:Taylor;Joseph
org:Sites by Joe, LLC
adr:;;408 Route 47 South;Cape May Court House;NJ;08210;USA
email;internet:[EMAIL PROTECTED]
tel;work:609-335-3076
tel;cell:609-335-3076
x-mozilla-html:FALSE
url:http://sitesbyjoe.com
version:2.1
end:vcard


Reply via email to