paul said:
.topleft {
background-image: url(topleft.jpg);
width: 847px;
height: 204px;
}
[---]
<div class="topleft"></div>
To have a link, you need two things. An anchor, and content to click.
Right now you have neither.
Within the div you should include an anchor link, and then the image you
want clicked as the content. Or, if you really have to have it in the
background, use a transparent image in the content, same size as your div
(margin:0;padding:0; as well). In either case, the image's alt value
will be what you want no-image users to encounter as link text.
Try something like this, not tested (and BTW "topleft" is cruddy style.
I'll use "logo" because that's what this is):
CSS
..logo {
background-image: url(topleft.jpg);
width: 847px;
height: 204px;
}
..logo a img {
margin: 0;
padding: 0;
}
And HTML
<div class="logo">
<a href="index.html">
<img src="transparent.png" height="204" width="847" alt="Logo Text Goes
Here">
</a>
</div>