Wouldnt it be easier to do the following?

<span style="width: 500px; height:312px;"><a href="index.html"><div
style="background-image:url(images/yourlogo.jpg); width:500px; height:
312px;"></div></a></span>

obviously i have styled this inline, you could easily seperate it all.



On Feb 16, 5:55 am, Don84 <[email protected]> wrote:
> Hi,
>
> I have a div with id of "logo" and
> the CSS has the following content among others,
>
> #logo
> {
>         background: url(images/KN_03.jpg) no-repeat;
>         width: 205px;
>         height: 87px;
>         float: left;
>         // I added the following attribute to make the logo a link to
> index.html file
>         // however, it is not working, how to make the link?
>         // url: index.html;
>
> }
>
> And I'd like to make the logo a link to an HTML file, how?
>
> Thanks.

-- 
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to