Placing Links In Images
Posted by Karthik Viswanathan on Thu 29 January, 2009 at 20:53:36 · Tags: css, html, tutorial
Many of us love to use vivid, clean images to enhance a website design. Unfortunately, it may be necessary to embed links into such an image, which can be a hassle.
In this article, we will present a quick and easy way to add links to your images using a small amount of HTML markup and CSS.
To begin, we must initialize our HTML. For this example, we will use the logo presented by Patrick Lin in his previous article:
It contains the following HTML:
<div id="logo">
<h1><a href="/" title="Home Page"><span>Sample Logo</span></a></h1>
</div>





0