Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Why is IE adding extra space under my div tag?

Posted on 2009-02-12
3
Medium Priority
?
1,953 Views
Last Modified: 2013-11-19
On my page the search box is displaying differently in IE and Firefox. In IE the search box is placed higher, as though there is a bottom padding applied to it. Here is the page:

http://robinbenzle.com/index.asp

Any ideas why this is happening? Thanks
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="Connections/robinbenzle.asp" -->
<!--#include file="arch_del.asp" -->
<%
Dim rstravelpic
Dim rstravelpic_cmd
Dim rstravelpic_numRows
 
Set rstravelpic_cmd = Server.CreateObject ("ADODB.Command")
rstravelpic_cmd.ActiveConnection = MM_robinbenzle_STRING
rstravelpic_cmd.CommandText = "SELECT * FROM travelpic" 
rstravelpic_cmd.Prepared = true
 
Set rstravelpic = rstravelpic_cmd.Execute
rstravelpic_numRows = 0
%>
<%
Dim rsmainvideo
Dim rsmainvideo_cmd
Dim rsmainvideo_numRows
 
Set rsmainvideo_cmd = Server.CreateObject ("ADODB.Command")
rsmainvideo_cmd.ActiveConnection = MM_robinbenzle_STRING
rsmainvideo_cmd.CommandText = "SELECT * FROM weekvideo ORDER BY displaydate ASC" 
rsmainvideo_cmd.Prepared = true
 
Set rsmainvideo = rsmainvideo_cmd.Execute
rsmainvideo_numRows = 0
%>
<%
Dim foodbite
Dim foodbite_cmd
Dim foodbite_numRows
 
Set foodbite_cmd = Server.CreateObject ("ADODB.Command")
foodbite_cmd.ActiveConnection = MM_robinbenzle_STRING
foodbite_cmd.CommandText = "SELECT * FROM foodbite" 
foodbite_cmd.Prepared = true
 
Set foodbite = foodbite_cmd.Execute
foodbite_numRows = 0
%>
<%
Dim rsteaser
Dim rsteaser_cmd
Dim rsteaser_numRows
 
Set rsteaser_cmd = Server.CreateObject ("ADODB.Command")
rsteaser_cmd.ActiveConnection = MM_robinbenzle_STRING
rsteaser_cmd.CommandText = "SELECT * FROM teaser" 
rsteaser_cmd.Prepared = true
 
Set rsteaser = rsteaser_cmd.Execute
rsteaser_numRows = 0
%>
<%
Dim MM_paramName 
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
 
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
 
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
 
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
  MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
 
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
 
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  End If
Next
 
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  End If
Next
 
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then 
  MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "")  Then
  MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
  MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
 
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<!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">
<html>
<head>
	<title>Robin Benzle food and travel</title>
	<link rel="stylesheet" type="text/css" href="style.css">
    <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>
    <style type="text/css">
<!--
.garagesale {
	width: 231px;
	margin-top: 20px;
	background-image: url(images/storefront.jpg);
	background-repeat: no-repeat;
	height: 190px;
	clear: both;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-left: 5px;
}
.style4 {	font-size: 12px;
	font-weight: bold;
}
.style5 {	font-size: 10px
}
.style8 {	padding-top: 5px;
	padding-right: 8px;
	padding-bottom: 5px;
	padding-left: 8px;
	font-size: 12px;
}
.travellinks {
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	font-size: 12px;
	font-weight: bold;
	padding-right: 0px;
	width: 240px;
}
.travelpicday {
	font-size: 14px;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 5px;
	padding-left: 15px;
	padding-right: 15px;
	width: 210px;
}
.travelpicpadding {
	padding-top: 10px;
	padding-bottom: 10px;
	width: 220px;
}
.style9 {
	font-size: 20px
}
.break {	clear: both;
}
.chowlinks {
	width: 310px;
	margin-right: 0px;
	margin-left: 20px;
	margin-top: 15px;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 10px;
}
.chowsubscribe {	color: #999999;
	float: left;
	margin-top: 21px;
	margin-left: 10px;
	font-size: 10px;
}
.chowtext {
	margin-top: 10px;
	margin-left: 25px;
	font-weight: bold;
	font-size: 20px;
	float: left;
}
.chowtime {
	width: 495px;
	padding-right: 0px;
	margin-top: 2px;
	background-repeat: repeat;
	background-image: url(images/chowtimeleavesgrad.jpg);
	margin-left: 5px;
}
.chowvideo {	width: 480px;
	margin: 0px;
	padding-top: 15px;
	text-align: center;
}
.style6 {	width: 305px;
	padding-right: 130px;
	padding-left: 45px;
	font-size: 12px;
	padding-top: 15px;
}
.foodbite {
	margin-left: 15px;
	margin-top: 10px;
	margin-right: 10px;
	background-image: url(images/foodbitebg.jpg);
	padding-bottom: 10px;
	margin-bottom: 10px;
	height: 220px;
	padding-top: 1px;
	background-repeat: no-repeat;
	background-position: center center;
}
.foodbitebody {
	margin-top: 20px;
	margin-left: 60px;
	font-size: 14px;
	margin-right: 40px;
}
.foodbiteheader {
	margin-left: 15px;
	padding-top: 0px;
	font-size: 14px;
	font-weight: bold;
	color: #333333;
	margin-top: 90px;
	padding-left: 70px;
	margin-bottom: 0px;
	padding-right: 140px;
}
.style12 {	font-size: 12px
}
.style13 {font-size: 14px}
.style11 {font-family: Arial, Helvetica, sans-serif}
.style14 {color: #333333}
-->
    </style>
    <link href="robincss.css" rel="stylesheet" type="text/css" />
</head>
 
<body bgcolor="#ffffff" leftmargin=0 topmargin=0 marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/buttoncommentsquestions.jpg','images/buttonhome.jpg','images/buttonrecipe.jpg','images/buttonvideorecipe.jpg','images/buttonfoodarticles.jpg','images/buttontravelvideos.jpg','images/buttontravelarticles.jpg')">
 
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
  <tr>
	<td width="50%" background="images/bg.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
	<td valign="bottom" background="images/bg_left.gif"><img src="images/bg_left.gif" alt="" width="17" height="16" border="0"></td>
	<td valign="top">
      <table width="950" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="bottom" align="right" background="images/header.jpg" width="950" height="254">
          
                        <div class="searchvertical">
                <form method="get" action="http://www.google.com/custom"><input type="submit" name="btnG" value="Search" />
      <input type="text" name="q" size="16" maxlength="255" value="" />
      <input type="hidden" name="sitesearch" value="http://www.robinbenzle.com/" />
    </form>
              </div>          </td>
        </tr>
        <tr>
          <td valign="top">          </td>
        </tr>
        <tr>
          <td valign="top">
          
           <div align="center">
    <div class="headerholder">
           
              
                <div class="buttonsidepadding"><a href="index.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/buttonhome.jpg',1)"><img src="images/buttonhomelt.jpg" name="home" width="89" height="20" border="0" /></a></div>
                <div class="buttonsidepadding"><a href="recipearchivecategory.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('recipe archive','','images/buttonrecipe.jpg',1)"><img src="images/buttonrecipelt.jpg" name="recipe archive" width="108" height="20" border="0"></a></div>
                <div class="buttonsidepadding"><a href="recipevideos.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Chow Time Videos','','images/buttonvideorecipe.jpg',1)"><img src="images/buttonvideorecipelt.jpg" name="Chow Time Videos" width="138" height="20" border="0" /></a></div>
                <div class="buttonsidepadding"><a href="recipearticles.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('food articles','','images/buttonfoodarticles.jpg',1)"><img src="images/buttonfoodarticleslt.jpg" name="food articles" width="107" height="20" border="0"></a></div>
                <div class="buttonsidepadding"><a href="travelvideos.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('travel videos','','images/buttontravelvideos.jpg',1)"><img src="images/buttontravelvideoslt.jpg" name="travel videos" width="109" height="20" border="0"></a></div>
                <div class="buttonsidepadding"><a href="travelarticles.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('travel articles','','images/buttontravelarticles.jpg',1)"><img src="images/buttontravelarticleslt.jpg" name="travel articles" width="115" height="20" border="0"></a></div>
                <div class="buttonsidepadding"><a href="forum/category-view.asp" target="_blank" onMouseOver="MM_swapImage('comments and questions','','images/buttoncommentsquestions.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/buttoncommentsquestionslt.jpg" name="comments and questions" width="173" height="20" border="0"></a></div>
   
              </div> 
          </div>
    <div align="center"></div>
          
          </td>
        </tr>
      </table>
      <table width="950" border="0" cellpadding="0" cellspacing="0" background="images/topbg.jpg">
 
<tr>
  <td width="950" height="8" align="center" bgcolor="#FFFFFF">   </td>
  </tr>
<tr>
	<td height="11" bgcolor="#FFFFFF"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="950">
<tr valign="top">
	<td width="255">
<div class="travelpadding">
  <table width="246" height="581" border="0" bgcolor="#FFFFFF">
    <tr>
      <td width="240" height="166" valign="top" background="images/traveltime.jpg"  style="background-repeat:no-repeat"><div class="travelpicday">
        <div align="center" class="style9">Travel Pic of the Day</div>
      </div>
            <div class="holder" align="center">
              <% 
' Moving to random record - Steven Jones' Extension
If Not(rstravelpic.bof and rstravelpic.eof) Then
  ' reset the cursor to the beginning
  If (rstravelpic.CursorType > 0) Then
    rstravelpic.MoveFirst
  Else
    rstravelpic.Requery
  End If
  
  rstravelpic_totalrn = -1
  rstravelpic_totalrn = rstravelpic.RecordCount ' ony works on some recordsets, but much faster
  If (rstravelpic_totalrn = -1) Then ' and if it didn't work, we still have to count the records.
 
    ' count the total records by iterating through the recordset
    rstravelpic_totalrn=0
    While (Not rstravelpic.EOF)
      rstravelpic_totalrn = rstravelpic_totalrn + 1
      rstravelpic.MoveNext
    Wend
 
    ' reset the cursor to the beginning
    If (rstravelpic.CursorType > 0) Then
      rstravelpic.MoveFirst
    Else
      rstravelpic.Requery
    End If
	
  End If
 
' now do final adjustments, and move to the random record  
rstravelpic_totalrn = rstravelpic_totalrn - 1
If rstravelpic_totalrn > 0 Then
Randomize
rstravelpic.Move Int((rstravelpic_totalrn + 1) * Rnd)
End If 
End If
' all done; you should always check for an empty recordset before displaying data
%>
              <div class="travelpicpadding"><img src="<%=(rstravelpic.Fields.Item("picture").Value)%>" alt="travel pic" width="220" /><br />
                </div>
              <div class="travepictext"><span class="style8"><%=(rstravelpic.Fields.Item("textvar").Value)%></span></div>
              <br />
              </div>
          <div class="travellinks">
            <ul>
              <li class="style4"> <a href="travelvideos.asp">Travel Videos</a></li>
                <li class="style4"><a href="travelarticles.asp">Travel Articles</a></li>
                <li><span class="style4"><a href="2009KenyaItinerary.pdf" target="_blank">Come with me to Africa</a>&nbsp;<br />
                  </span><span class="style5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aug. 29 - Sept. 9</span></li>
                <li><span class="style4"><a href="forum/category-view.asp" target="_blank">Comments and Questions?</a><br />
                  </span></li>
              </ul>
          </div></td>
      </tr>
    <tr>
      <td height="212"><div class="garagesale"></div></td>
      </tr>
  </table>
</div></td>
	<td width="505" style="background-position: top; background-repeat: repeat-x;">
<div class="chowtime">
  <div class="chowtext">Chow Time</div>
  <div class="chowsubscribe">every friday</div>
  <div class="break"></div>
  <div class="chowvideo"><%=(rsmainvideo.Fields.Item("youtube").Value)%> </div>
  <br />
  <div class="style6"><%=(rsmainvideo.Fields.Item("vardescription").Value)%></div>
  <div class="chowlinks">
    <ul>
      <li><a href="recipeprinthomevideo.asp?<%= Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) & "ID=" & rsmainvideo.Fields.Item("ID").Value %>" target="_blank">Print this Weeks Chow Time Recipe</a><br />
      </li>
      <li><a href="recipevideos.asp">Recipe Video Archive</a><br />
      </li>
      <li><a href="recipearchivecategory.asp">Robin's Recipes</a></li>
      <li><a href="recipearticles.asp">Food Articles</a><br />
      </li>
      <li><a href="forum/category-view.asp" target="_blank">Comments and Questions?</a>
      </li>
    </ul>
  </div>
  
  <div class="teasertext">
    <div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=(rsteaser.Fields.Item("teaser").Value)%></div>
    <div class="break"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></div>
  </div>
</div>
<div class="foodbite">
  <div class="foodbiteheader style13"><span class="chowtime">
    <% 
' Moving to random record - Steven Jones' Extension
If Not(foodbite.bof and foodbite.eof) Then
  ' reset the cursor to the beginning
  If (foodbite.CursorType > 0) Then
    foodbite.MoveFirst
  Else
    foodbite.Requery
  End If
  
  foodbite_totalrn = -1
  foodbite_totalrn = foodbite.RecordCount ' ony works on some recordsets, but much faster
  If (foodbite_totalrn = -1) Then ' and if it didn't work, we still have to count the records.
 
    ' count the total records by iterating through the recordset
    foodbite_totalrn=0
    While (Not foodbite.EOF)
      foodbite_totalrn = foodbite_totalrn + 1
      foodbite.MoveNext
    Wend
 
    ' reset the cursor to the beginning
    If (foodbite.CursorType > 0) Then
      foodbite.MoveFirst
    Else
      foodbite.Requery
    End If
	
  End If
 
' now do final adjustments, and move to the random record  
foodbite_totalrn = foodbite_totalrn - 1
If foodbite_totalrn > 0 Then
Randomize
foodbite.Move Int((foodbite_totalrn + 1) * Rnd)
End If 
End If
' all done; you should always check for an empty recordset before displaying data
%>
  </span><%=(foodbite.Fields.Item("title").Value)%></div>
  <div class="foodbitebody style12"><%=(foodbite.Fields.Item("foodbite").Value)%></div>
</div><p style="font-size: 12px;">&nbsp;</p></td>
	<td width="190">
    
    <div align="center"><img src="images/px1.gif" width="1" height="1" alt="" border="0">
	   <div class="adpadding">
          <script type="text/javascript"><!--
google_ad_client = "pub-5991804078070605";
/* 160x600, created 2/10/09 */
google_ad_slot = "8395045204";
google_ad_width = 160;
google_ad_height = 600;
//-->
        </script>
          <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
        </div>
	  </div></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="950">
<tr>
	<td><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
  <td height="25">&nbsp;</td>
</tr>
<tr>
	<td height="20" valign="middle" bgcolor="#DDDDDD"><div class="footertext">Copyright &copy; 
	      <SCRIPT>
<!--
var year=new Date();
year=year.getYear();
if (year<1900) year+=1900;
document.write(year);
//-->
        </SCRIPT> 
	  by Robin Benzle. All Rights Reserved</div></td>
</tr>
<tr>
	<td align="center" height="60">
    
 
   <div align="center">
 
     <div class="footerholder"> 
         
       <div class="buttonleft"><a href="aboutrobin.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About Robin','','images/buttonaboutrobinon.jpg',1)"><img src="images/buttonaboutrobinoff.jpg" name="About Robin" width="117" height="20" border="0" id="About Robin" /></a></div>
       <div class="buttonmiddle"><a href="subscribe.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Subscribe','','images/buttonsubscribeon.jpg',1)"><img src="images/buttonsubscribeoff.jpg" name="Subscribe" width="148" height="20" border="0" id="Subscribe" /></a></div>
       <div class="buttonmiddle"><a href="advertise.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Advertise','','images/buttonadvertiseon.jpg',1)"><img src="images/buttonadvertiseoff.jpg" name="Advertise" width="119" height="20" border="0" id="Advertise" /></a></div>
       <div class="buttonright"><a href="contact.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','images/buttoncontacton.jpg',1)"><img src="images/buttoncontactoff.jpg" name="contact" width="69" height="20" border="0" id="contact" /></a></div>
     </div>
     
   </div>
    
      </td>
	</tr>
</table>
	</td>
	<td valign="bottom" background="images/bg_right.gif"><img src="images/bg_right.gif" alt="" width="17" height="16" border="0"></td>
	<td width="50%" background="images/bg.gif"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
 
</body>
</html>
<%
rstravelpic.Close()
Set rstravelpic = Nothing
%>
<%
rsmainvideo.Close()
Set rsmainvideo = Nothing
%>
<%
foodbite.Close()
Set foodbite = Nothing
%>
<%
rsteaser.Close()
Set rsteaser = Nothing
%>
 
CSS:
 
th {
	color : #000000;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
}
input {
	color : #000000;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.px {
	padding-top : 0px;
	padding-bottom : 0px;
	padding-left : 0px;
	padding-right : 0px;
	margin-top : 2px;
	margin-bottom : 0px;
	margin-left : 0px;
	margin-right : 0px;
}
.px5 {
	padding-top : 0px;
	padding-bottom : 0px;
	padding-left : 0px;
	padding-right : 0px;
	margin-top : 5px;
	margin-bottom : 0px;
	margin-left : 0px;
	margin-right : 0px;
}
.t01 {
	color : #000000;
	margin-top : 5px;
	padding-bottom : 10px;
	margin-bottom : 0px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
}
.t01 a {
	color : #EF6D00;
}
.t01 a:hover {
	color : #C25A02;
}
.list {
	color : #FFFFFF;
	margin-top : 3px;
	padding-bottom : 3px;
	margin-bottom : 0px;
	margin-left : 10px;
	margin-right : 10px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.right {
	color : #FFFFFF;
	margin-top : 5px;
	padding-bottom : 10px;
	margin-bottom : 0px;
	margin-left : 10px;
	margin-right : 10px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.right a, .list a {
	color : #FFFFFF;
}
.right a:hover {
	color : #AAAAAA;
}
.left {
	color : #000000;
	margin-top : 10px;
	padding-bottom : 5px;
	margin-bottom : 0px;
	margin-left : 25px;
	margin-right : 10px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.left b {
	color : #FFFFFF;
}
.left a {
	color : #FF6600;
}
.left a:hover {
	color : #FF0000;
}
p {
	color : #000000;
	margin-top : 5px;
	padding-bottom : 10px;
	margin-bottom : 0px;
	margin-left : 10px;
	margin-right : 10px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
}
p a {
	color : #000000;
	font-weight: bold;
}
p a:hover {
	color : #294A7B;
}
.menu01 {
	color : #FFFFFF;
	margin-top : 0px;
	padding-bottom : 0px;
	margin-bottom : 0px;
	margin-left : 45px;
	margin-right : 0px;
	font-size : 12px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.menu01 a {
	color : #FFFFFF;
	text-decoration: none;
}
.menu01 a:hover {
	color : #EEEEEE;
}
.menu02 {
	color : #000000;
	margin-top : 0px;
	padding-bottom : 0px;
	margin-bottom : 0px;
	margin-left : 45px;
	margin-right : 0px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
	font-weight: bold;
}
.menu02 a {
	color : #000000;
	text-decoration: none;
}
.menu02 a:hover {
	color : #555555;
}
.buttonvertical {
	height: 30px;
	padding-top: 5px;
	float: none;
}
.headerholder {
	width: 920px;
}
 
.searchvertical {
	float: none;
	padding-left: 10px;
	text-align: right;
	padding-right: 15px;
	vertical-align: bottom;
	padding-bottom: 10px;
}
.travelpicpadding {
	padding-right: 8px;
	padding-left: 8px;
}
.travelpadding {
	padding-left: 6px;
}
.holder {
	width: 240px;
}
.footerholder {
	margin-right: auto;
	margin-left: auto;
	width: 600px;
}
.adpadding {
	margin-top: 5px;
}
.teasertext {
	width: 440px;
	padding-left: 20px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-right: 10px;
	padding-bottom: 15px;
}
.buttonsidepadding {
	padding-right: 5px;
	padding-left: 5px;
	float: left;
}
 
P  { margin:0px; padding:0px; display:inline;  }
 
.travepictext {
	width: 220px;
	padding-right: 10px;
	padding-left: 10px;
}
.footertext {
	font-size: 10px;
	color: #333333;
	padding-left: 25px;
}
.sideteasertext {
	margin-top: 15px;
	margin-right: 10px;
	margin-bottom: 15px;
	margin-left: 10px;
}

Open in new window

0
Comment
Question by:elliottbenzle
3 Comments
 
LVL 43

Accepted Solution

by:
David S. earned 2000 total points
ID: 23630555
IE is giving the form a bottom margin. Add this rule to your stylesheet:
form {
  margin: 0;
  padding: 0;
}

Open in new window

0
 
LVL 2

Expert Comment

by:nativestudios
ID: 23630766
I find it easier to reset the default margin / padding, etc on all elements at the start of the stylesheet so that you don't rely on browsers to add it for you. It does mean you have to add margin / padding back in but it stops problems like this occuring.

Simply add the following at the start of your stylesheet:
* {
   margin: 0;
   padding: 0;
   outline: 0;
   border: 0;
}

Open in new window

0
 
LVL 4

Author Closing Comment

by:elliottbenzle
ID: 31546463
Thanks. Removing the elements on all items worked also, thanks to both solutions.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to count occurrences of each item in an array.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question