Thank you for your quick responses.

I think it would make more sense if I inserted the image onto the page directly 
and had it linked, rather than leaving it as background image through CSS.

Thank you,
Anahita :)


----- Original Message ----
From: "Austin, Darrel" <[EMAIL PROTECTED]>
To: css-d@lists.css-discuss.org
Sent: Friday, April 20, 2007 11:08:01 AM
Subject: Re: [css-d] Links on background images


> Darrel, create an <a id="logo"> with the desired link in the element
> that has the background, and give the following CSS:

FYI, Anahita is the one asking. That said, while your solution would work, 
you're left with an empty link (which is neither semantic nor terribly 
accessible). Again, if you want the logo to be a link, then the logo should be 
part of the page content. You could do something like this:

<a href=""><span>Go Home</span></a>

Position the <a> above the background image, then postition the span 
off-screen. It's work, but still seems messing compared to just linking the 
actual logo image itself.

> I don't know too much on this subject but couldn't an image map be used?

No, the background image isn't part of the page content, therefore there's 
nothing to map.

-Darrel

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to