Previous Message
Next Message

Can I put a link on an image in CSS?

Sent by Els on 18 February 2006 14:02


Peter Snow Cao wrote:
> I want to put a link to my homepage on the logo image that is
> in the upper
> left-hand corner of every page put there by the CSS file
> (snippet below):
> 
> http://bikechina.com/
> 
> #header {
> background-color: #091c5a;
> background-image: url(images/bc-logosm.gif);
> background-repeat: no-repeat;
> background-attachment: fixed;
> }
> 
> What is the best way to do this?  Is there a way I can do it
> in CSS or do I have to use HTML to code each page?

No, you have to add the link code <a href="... > to the HTML.

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/
Previous Message
Next Message

Message thread: