I have seen the code you posted and this you have implemented the code quiet nicely. Very little mistakes can be noticed in your codes i have tried to solve your problem and have implemented or corrected your code and go the result what you were expecting so just compare the following code with yours and i think that you will get the fix
Code:
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Website </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body
{
margin: auto auto;
padding: 0;
padding-top: 10px;
text-align: center;
}
#centered
{
width: 800px; /* set to desired width in px or percent */
text-align: auto; /* optionally you could use "justified" */
border: 0px; /* Changing this value will add lines around the centered area */
padding: 0;
margin: auto auto;
}
.style2 {
font-family: times new roman, monotype corsiva, sans-serif;
font-weight: bold;
}
.style3 {
font-family: times new roman, monotype corsiva, sans-serif;
font-weight: bold;
color: #000000;
font-size: 15px;
}
.style4 {
color: #000000;
font-size: 13px;
}
-->
</style></head>
</div>
<body leftmargin="auto auto" marginwidth="auto auto">
<div id="Layer1">
<p class="style3"><em><font color="#000000">We should take care not to make
the intellect our god; it has, of course, powerful muscles, but no personality
</font></em></p>
<p class="style3"><font color="#000000"><em>–</em>Albert Einstein</font></p>
</div>
<img src="images/contact.jpg" width="800" height="550" hspace="111" vspace="49" border="0" align="absmiddle" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="25,466,98,503" href="http://www.websiteinc.com/home.html" />
<area shape="rect" coords="161,464,267,502" href="http://www.websiteinc.com/mission.html" />
<area shape="rect" coords="496,464,617,503" href="http://www.websiteinc.com/portfolio.html" />
<area shape="rect" coords="325,465,438,502" href="http://www.websiteinc.com/up.html" />
<area shape="rect" coords="672,466,777,502" href="http://www.websiteinc.com/contact.html" />
</map>
</body>
</html>
Bookmarks