No replies
Rachel Turner
Offline
newbie
Melbourne
Last seen: 10 years 29 weeks ago
Melbourne
Joined: 2009-06-27
Posts: 5
Points: 0

I am building a site and during the checking process I have discovered that IE6 is adding some padding to the top and bottom of the navigation bars.

I can't see anything in the code that would cause this problem to occur and it is viewing fine in all other browsers. Is there any IE6 code I could add to my style sheet to avoid this happening.

igsaustralia.com.au/staging/service.html

#container {
	width: 800px;
	float: left;
	margin-top: 15px;
	background-color: #FFF;
	border: thin solid #AAAAAA;
}
 
#wrapper {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
 
}
 
#topleft {
	float: left;
	height: 69px;
	width: 207px;
	padding-top: 25px;
	padding-right: 293px;
	padding-left: 25px;
}
 
#topright {
	float: right;
	height: 119px;
	width: 275px;
}
 
 
#navigationtop {
	float: left;
	height: 18px;
	width: 568px;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #AAAAAA;
	padding-left: 232px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #AAAAAA;
}
 
 
#navigationservice {
	float: left;
	height: 14px;
	width: 463px;
	padding-bottom: 30px;
	background-image: url(images/sub_nav_bg.png);
	background-repeat: repeat-x;
	padding-left: 335px;
}
 
#navigationproducts {
	float: left;
	height: 14px;
	width: 775px;
	padding-bottom: 30px;
	background-image: url(images/sub_nav_bg.png);
	background-repeat: repeat-x;
	padding-left: 25px;
}
 
#mainleft {
	float: left;
	height: 463px;
	width: 115px;
	padding-right: 30px;
	padding-left: 25px;
}
 
 
#mainmiddle {
	float: left;
	height: 463px;
	width: 450px;
	padding-right: 5px;
}
 
 
#mainright {
	float: right;
	height: 463px;
	width: 158px;
	border-left-width: 2px;
	border-left-style: solid;
	border-left-color: #AAAAAA;
}
 
 
#contactleft {
	float: left;
	height: 463px;
	width: 365px;
	padding-right: 10px;
	padding-left: 25px;
}
 
#contactright {
	float: right;
	height: 463px;
	width: 373px;
	border-left-width: 2px;
	border-left-style: solid;
	border-left-color: #AAAAAA;
	padding-right: 20px;
	padding-left: 5px;
}
 
 
body {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px;
	font-size: 12px;
	color: #2C2C2C;
	line-height: 1.3em;
	text-decoration: none;
	padding: 0px;
}
 
h1 {
	font-size: 14px;
	line-height: 1.4em;
}
 
	.h2 {
	font-size: 12px;
	line-height: 1.2em;
	font-weight: bold;
}
 
.copyright {
	font-size: 8px;
	font-family: Arial, Helvetica, sans-serif;
}
.precision {
	color: #808080;
	font-size: 12px;
}
.precisionhead {
	color: #808080;
	font-size: 14px;
}

<!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>IGS Service and Spare Parts</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
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_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
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_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>
 
 
<meta name="keywords" content="electrical, service, engineering, service, installations, man roland, factory power upgrades, ecosmart electical services, plc installations, factory lighting, mechanical and electrical service, preventative maintenance programs" />
<meta name="description" content="IGS provide electrical and mechanical servicing to the printing industry across the entire spectrum of printing equipment." />
 
 
</head>
 
<body onload="MM_preloadImages('images/navigation/products_up.png','images/navigation/service_up.png','images/navigation/contact_up.png','images/navigation/spare_parts_up.png','images/navigation/EcoSmart_up.png','images/download_specifications.gif','images/submit_enquiry.gif')">
 
<div id="wrapper">
<div id="container">
 
<div id="topleft"><a href="index.html"><img src="images/igs_logo.png" border="0" width="207" height="73" alt="IGS logo" /></a></div>
 
<div id="topright"><table width="275" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/cylinders.png" width="275" height="98" alt="IGS - Servicing the graphic arts industry" /></td>
  </tr>
  <tr>
    <td><img src="images/tagline.png" width="275" height="21" alt="IGS - Servicing the graphic arts industry" /></td>
  </tr>
</table>
</div>
 
<div id="navigationtop">
  <a href="products.html" target="_top" onclick="MM_nbGroup('down','group1','Products','images/navigation/products_up.png',1)" onmouseover="MM_nbGroup('over','Products','images/navigation/products_up.png','images/navigation/products_up.png',1)" onmouseout="MM_nbGroup('out')"><img src="images/navigation/products.png" alt="Products" name="Products" width="79" height="18" border="0" id="Products" onload="" /></a><a href="service.html" target="_top" onclick="MM_nbGroup('down','group1','Service','images/navigation/service_up.png',1)" onmouseover="MM_nbGroup('over','Service','images/navigation/service_up.png','images/navigation/service_up.png',1)" onmouseout="MM_nbGroup('out')"><img src="images/navigation/service_up.png" alt="Service" name="Service" width="86" height="18" border="0" id="Service" onload="" /></a><a href="contact.html" target="_top" onclick="MM_nbGroup('down','group1','Contact','images/navigation/contact_up.png',1)" onmouseover="MM_nbGroup('over','Contact','images/navigation/contact_up.png','images/navigation/contact_up.png',1)" onmouseout="MM_nbGroup('out')"><img src="images/navigation/contact.png" alt="Contact" name="Contact" width="81" height="18" border="0" id="Contact" onload="" /></a>
  </div>
 
 
 
 <div id="navigationservice"><a href="spare_parts.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('spare parts','','images/navigation/spare_parts_up.png',1)"><img src="images/navigation/spare_parts.png" alt="spare parts" name="spare parts" width="75" height="16" border="0" id="spare parts" /></a> <a href="ecosmart.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('EcoSmart','','images/navigation/EcoSmart_up.png',1)"><img src="images/navigation/EcoSmart.png" alt="EcoSmart" name="EcoSmart" width="75" height="16" border="0" id="EcoSmart" /></a></div>
 
 
<div id="mainleft">
  <table width="130" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="images/service1.jpg" width="130" height="101" /></td>
    </tr>
    <tr>
      <td><img src="images/service2.jpg" width="130" height="101" /></td>
    </tr>
    <tr>
      <td><img src="images/service3.jpg" width="130" height="101" /></td>
    </tr>
    <tr>
      <td><img src="images/service4.jpg" width="130" height="127" /></td>
    </tr>
    <tr>
      <td height="28" valign="bottom" class="copyright">Industrial Graphic Services 2009</td>
    </tr>
  </table>
</div>
 
<div class="body" id="mainmiddle"> IGS provide electrical and mechanical servicing to the printing industry across the entire spectrum of printing equipment. With over 30 years experience in the printing industry there is no better company to service yourneeds and ensure your equipment is up and running in no time so that you can meet the needs of your customers.<br /> <br /> 
 
Our team of electricians and engineers are trained to the highest of standards and that reflects in the service we offer our customers, which is always prompt, high quality and friendly.<br /> <br /> 
 
Not only can we handle your day to day servicing needs, we perform machine installations and relocations on new and second hand machinery. We can quote on the entire installation or separately for electrical depending on your needs - <em>no job is too big or too small for us.</em> <br /><br /> 
 
<strong>Services we offer at a glance</strong><br />  
- Mechanical and electrical servicing <br />
- Preventative maintenance programs<br />
- Machine modifications<br />
- 24 hour breakdown repairs<br />
- Machine installations and relocations (mechanical and electrical)<br />
- Factory wiring/rewiring<br />
- Factory lighting    <br />
- Factory power upgrades<br />
- PLC installations, modifications and programming<br />
- UV and IR dryer installation and servicing <br />  
- EcoSmart electrical services  </div>
 
<div id="mainright">
<table width="158" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="336" valign="top"><img src="images/service_line.gif" width="152" height="247" /></td>
    </tr>
    <tr>
      <td height="40" valign="top"><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('submit_enquiry','','images/submit_enquiry.gif',1)"><img src="images/submit_enquiry.gif" alt="submit enquiry" name="submit_enquiry" width="95" height="24" border="0" id="submit_enquiry" /></a></td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
    </tr>
  </table>
</div>
 
 
 
 
 
</div> <!--close container -->
</div> <!--close wrapper -->
 
</body>
</html>