Hi there TomTom100,
the align attribute is deprecated in favour of CSS.
Try it like this...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>grass sunset</title>
<style type="text/css">
#body {
width:780px;
margin:auto;
overflow:hidden;
padding:5px 10px 20px;
background-color:#f0eccd;
}
#sunset {
float:left;
width:400px;
height:268px;
margin-right:10px;
}
</style>
</head>
<body>
<div id="body">
<img id="sunset" src="Images/GRASS_SUNSET.jpg" alt="Sunset">
<p>
A yellow sunset through a field of grass. This photo was taken on a Nikon D60 with no flash.
The aperture was set to f/10 and shutter speed to 1/25 sec. ISO was at 100 and focal length
was 55mm. The photo RAW file was then edited in Photoshop CS5 to give a dynamic yellow look.
This photo was taken on May 5th 2011
</p>
</div>
</body>
</html>
coothead
Bookmarks