Hello parkerdeano,
Some odd things in your markup...plus, it's always better to style with CSS rather than inline.
Look at the two examples here. I've cleaned up the markup for your images in the first, then added anchors in the second (I've assumed a 200x150 px size for your images since you didn't provide a size).
I tried to comment on everything to explain what it's doing.
Code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
html, body {
margin: 0;
font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #000;
background: #fc6;
}
.left_carpet {
width: 265px;
margin: 0 0 20px; /*just some separation for the demo*/
/*float: left; commented out for demo*/
overflow: auto; /*clears the floats*/
background: #ccc; /*jus so you can see the size of .left_carpet*/
}
h1 {font-size: 1.2em;} /*adjust as needed*/
a {display: block;} /*makes the anchor the size of the image it contains*/
img {
float: left;
display: block; /*demo only*/
background: #f00; /*demo only*/
}
</style>
</head>
<body>
<div class="left_carpet">
<h1>Carpet Tiles</h1>
<img src="wysiwyg/Buy_carpet_tiles_online.jpg" alt="View and buy online" width="200" height="150" title="View and buy online" />
<img src="wysiwyg/fill_in_form_carpet_tiles_page.jpg" alt="Online quote" width="200" height="150" title="Online quote" />
<!--end .left_carpet--></div>
<div class="left_carpet">
<h1>Carpet Tiles</h1>
<a href="#"><img src="wysiwyg/Buy_carpet_tiles_online.jpg" alt="View and buy online" width="200" height="150" title="View and buy online" /></a>
<a href="#"><img src="wysiwyg/fill_in_form_carpet_tiles_page.jpg" alt="Online quote" width="200" height="150" title="Online quote" /></a>
<!--end .left_carpet--></div>
</body>
</html>