Hi
Thanks for the reply. Problem is if i add the coindition i feel like ive cheated lol. Its only a simple site with very simple divs so it should work finr on ie7.
Im sure their is something ive done wrong but ive been looking at this code now for ages and could do with a fresh pair of eyes if you dont mind.
<!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>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #2D2D2D;
background-image: url(sandwich-bg.jpg);
background-position:center top;
background-repeat: no-repeat;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
text-align: center;
}
#content {
width: 996px ;
margin-left: auto ;
margin-right: auto ;
}
#logo {
margin-top: 20px;
margin-bottom: 10px;
}
#menubar {
position:relative;
background-image:url(green-bar-bg.png);
height:69px;
width:996px;
top:-20px;
}
#apDiv1 {
position:relative;
width:153px;
height:31px;
left:800px;
top:-20px;
z-index:-1;
}
#content {
}
#main-content {
}
a:link {
color: #8DB22E;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #8DB22E;
}
a:hover {
text-decoration: none;
color: #637C29;
}
a:active {
text-decoration: none;
color: #8DB22E;
}
body,td,th {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
color: #FFF;
}
#footer {
background-image:url(green-bar-bg.png);
}
.smallerten {
font-size: 10px;
}
#signature {
font-size: 10px;
}
-->
</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>
<body onload="MM_preloadImages('home-over.jpg','food-products-over.jpg','about-delights-over.jpg','food-supply-over.jpg','merketing-over.jpg','vending-machines-over.jpg','careers-over.jpg','contact-over.jpg')">
<div id="content">
<div id="logo"><img src="delights-logo.png" width="393" height="125" alt="Delights" /></div>
<div id="apDiv1"><img src="members.png" width="153" height="31" alt="Members" /></div>
<div id="menubar"><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','home-over.jpg',1)"><img src="home.jpg" alt="Delights Homepage" name="home" width="84" height="69" border="0" id="home" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('food','','food-products-over.jpg',1)"><img src="food-products.jpg" alt="Food Products" name="food" width="186" height="68" border="0" id="food" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','about-delights-over.jpg',1)"><img src="about-delights.jpg" alt="About Delights" name="about" width="115" height="68" border="0" id="about" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('supply','','food-supply-over.jpg',1)"><img src="food-supply.jpg" alt="Food Supply" name="supply" width="149" height="68" border="0" id="supply" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('marketing','','merketing-over.jpg',1)"><img src="merketing.jpg" alt="Marketing" name="marketing" width="132" height="68" border="0" id="marketing" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('vending','','vending-machines-over.jpg',1)"><img src="vending-machines.jpg" alt="Vending Machines" name="vending" width="112" height="68" border="0" id="vending" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('careers','','careers-over.jpg',1)"><img src="careers.jpg" alt="Careers" name="careers" width="100" height="68" border="0" id="careers" /></a><a href="oooo" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','contact-over.jpg',1)"><img src="contact.jpg" alt="Contact Delights" name="contact" width="117" height="68" border="0" id="contact" /></a></div>
<div id="main-content"><img src="top.png" width="990" height="219" /><br />
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="left" valign="top"><p><img src="right-sandwich.png" width="405" height="247" align="right" />Welcome to the delights website. We are pre packed food suppliers to the retail market, schools,
colleges, vending machines and forecourts.</p>
<p>Delights started as a food vending machine & snack merchandising supplier, supplying sandwiches
and snacks. Our business grew quickly, having secured vending contracts with some of the norths
leading companies. Demand for our products from local businesses laid the way for delights. Now
supplying to over 200 businesses and growing rapidly. The key to our success is our drive and
passion for food, always creating exciting, fresh and tasty new food menus. <br />
</p>
<p>Delights bring to you the ultimate range of fuller and tastier snack products, including pre packed
sandwich wedges, sub rolls, tortilla wraps, pasta salads & homemade pies. Our range of sandwiches
along with our new label design will drive customers to come back again and again. We pride
ourselves on filling the WHOLE sandwich with our delicious choice of fillings. Delights also provide a
range of deli products such as pasta salads and tortilla wraps, again with exciting packaging and a
fuller filling will drive customers back.</p>
<p>Our mouth watering range will guarantee to satisfy, from our stunning packaging to the product
fillings. Every product is carefully manufactured and packaged bringing a fresh & colourful product to your business. We offer our products on a direct sale, or a sale or
return basis. Our commissions on sale or return items are excellent, and our wholesale prices are hard to beat. We are happy to discuss your terms at any time.</p>
<p>Our refrigerated delivery vehicles carry a full range of products on board 6 days a week. We offer a wide range of sandwiches, sub rolls and tortillas wraps, and also
supply flapjacks and cookies at excellent case prices. </p>
<p></p></td>
</tr>
</table>
</div>
<div id="footer">Home : Food Products : About Us : Food Supply : Marketing : Vending : Careers : Contact<br />
Copyright 2010 Delights
<br />
</div>
<div id="signature"><br />
Created by Web Design Sheffield Hosted by Sheffield Web Hosting</div>
</div>
</body>
</html>