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

#(container)
{position:relative;}

#(container) a#logo
{display: block;
  position: absolute;
  top: (distance of logo from the top edge);
  left: (distance of logo from the left edge);
  width: (...);
  height: (...);}

The <a> doesn't have to be related to the image in any way except for 
being in the right position, which is decided arbitrarily by the image, 
not by any concrete CSS or HTML.


Regards,
Barney


Austin, Darrel wrote:
>> I have created a simple website where the logo is inserted as a background 
>> image in the CSS.
>> However, I would like the logo to be linked to the index page (so that the 
>> user can click it). Is there 
>> any way to do that with the background image (in other words, is it 
>> possible, in any way at all, 
>> to have links embedded in the CSS?)?
> 
> No. CSS is style, not content.
>  
> Most folks would probably argue that a logo is content, and, therefore, 
> really should be part of the content rather than a decorative background 
> image.
>  
> -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/

-- 
Barney Carroll
Text Matters

Information design: we help explain things using
language | design | systems | process improvement
_______________________________________________________
phone +44 (0)118 918 2382  email [EMAIL PROTECTED]
web http://www.textmatters.com
______________________________________________________________________
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