I've tried everything but nothing has worked.
My website is looks good in IE but not in Firefox. This is my code:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pacific Time</title>
<style type="text/css">
<!--
body {
background-image: url(images/pattern_turquoise.jpg);
background-repeat: repeat;
background-color: #163E47;
middle;
margin: center;
}
#apDiv1 {
position:absolute;
left:199px;
top:10px;
width:371px;
height:104px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:91px;
top:114px;
width:649px;
height:52px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:-19px;
top:10px;
width:513px;
height:104px;
z-index:1;
}
#apDiv4 {
position:absolute;
left:-18px;
top:114px;
width:692px;
height:333px;
z-index:2;
}
#apDiv5 {
position:absolute;
left:382px;
top:10px;
width:463px;
height:101px;
z-index:3;
}
#apDiv6 {
position:absolute;
left:0px;
top:-16px;
width:720px;
height:400px;
z-index:0;
}
#apDiv7 {
position:absolute;
left:156px;
top:-1px;
width

;
height:756px;
z-index:0;
}
#apDiv8 {
position:absolute;
left:289px;
top:103px;
width:740px;
height:39px;
z-index:4;
}
#apDiv9 {
position:absolute;
left:289px;
top:137px;
width:739px;
height:344px;
z-index:5;
}
#apDiv10 {
position:absolute;
left:291px;
top:483px;
width:742px;
height:217px;
z-index:6;
}
#apDiv11 {
position:absolute;
left:436px;
top:734px;
width:572px;
height:20px;
z-index:7;
}
#apDiv12 {
position:absolute;
left:299px;
top:484px;
width:720px;
height:167px;
z-index:8;
}
.style2 {
color: #FFFFFF;
font-size: 18px;
}
.style4 {font-size: 14}
.style6 {font-size: 13px}
.style7 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-style: italic;
}
.style9 {
font-size: 18px;
font-weight: bold;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<center>
<body onload="MM_preloadImages('images/aboutus_on.jpg','images/ourlisting_on.jpg','images/searchproperty_on.jpg','images/homeevaluation_on.jpg','images/contactus_on.jpg','images/banner.jpg')">
<div id="apDiv5"> <img src="images/Pacifictime_logo.jpg" width="461" height="93" /></div>
<div id="apDiv7">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="454" height="238" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="148"><div align="center"><img src="images/background.jpg" width="992" height="756" align="middle" /></div></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="apDiv8"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bar','','images/banner.jpg',1)"><img src="images/banner.jpg" name="bar" width="270" height="34" border="0" id="bar" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aboutus','','images/aboutus_on.jpg',1)"><img src="images/aboutus_off.jpg" name="aboutus" width="82" height="33" border="0" id="aboutus" /></a><a href="ourlistings.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ourlisting','','images/ourlisting_on.jpg',1)"><img src="images/ourlisting_off.jpg" name="ourlisting" width="81" height="33" border="0" id="ourlisting" /></a><a href="search.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('searchproperty','','ima ges/searchproperty_on.jpg',1)"><img src="images/searchproperty_off.jpg" name="searchproperty" width="108" height="33" border="0" id="searchproperty" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('homeevaluation','','ima ges/homeevaluation_on.jpg',1)"><img src="images/homeevaluation_off.jpg" name="homeevaluation" width="113" height="33" border="0" id="homeevaluation" /></a><a href="contactus.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/contactus_on.jpg',1)"><img src="images/contactus_off.jpg" name="Image7" width="84" height="33" border="0" id="Image7" /></a></div>
<div id="apDiv9"><img src="images/homepicture.jpg" width="738" height="343" /></div>
<div id="apDiv10"><img src="images/transparentbox.jpg" width="735" height="210" /></div>
<div class="style7" id="apDiv11">1501 W. Cameron Ave., Ste. #110-14, West Covina, CA 91790 • 626.814.9450</div>
<div class="style2" id="apDiv12">
<div align="justify">
<p class="style6"><span class="style9">Welcome</span><br />
<span class="style4"><br /></span>The Pacific Time Realty is a corporation dedicated to facilitate the most important decision for our clients. At Pacific Time Realty we treat you like family. We will delegate with all parties to ensure your purchase or sale of your home in a fast and profitable manner. <br />
All our realtors have more than 5 years of experience. They are professionals trained in expediting all real estate transactions. All of our realtors have received training in all the new regulations and programs in this current economy. They are experts in dealing with R.E.O properties and short sales.<br />
You can be assured that all our realtors and staff member will treat you with total professionalism and fiduciary duty of utmost care, integrity, honesty and loyalty in dealings with Buyer and Seller transactions.</p>
<p class="style6"> </p>
</div>
</div>
<p> </p>
</body>
</html>
</center>