Hi there,
So I am new to CSS and I am not sure what I am doing wrong here. All my content displays fine in FF but the nav bar shifts over in IE. Is there anything wrong with my code or do I need to add something?
My CSS:
Code:
#outer **
width: 800px;
background-color:#63773c;
margin-top: 0px;
margin-bottom: 50px;
margin-left: auto;
margin-right: auto;
padding: 0px;
border: thin solid #000000;
}
#navbar **
padding-left: 26px;
position:absolute;
top:211px;
}
#content **
padding-left: 26px;
}
body **
background-color: #333300;
}
My HTML
HTML Code:
<div id="outer">
<img src="images/header_about.jpg" />
<div id="navbar">
<table width="726" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/home.jpg" width="107" height="18" /></td>
<td><img src="images/about_us.jpg" width="158" height="18" /></td>
<td><img src="images/services.jpg" width="149" height="18" /></td>
<td><img src="images/projects.jpg" width="147" height="18" /></td>
<td><img src="images/contact_us.jpg" width="165" height="18" /></td>
</tr>
</table>
</div>
</br>
</br>
<p> </p>
<h1 class="style1" id="content">About Us</h1>
<p class="style2" id="content">I would like to introduce our company, Eagle Rock Underground LLC; licensed as a Class A General Engineering contractor, certified as a SBE (Small Business Enterprise) and SDVOB (Service Disabled Veteran-Owned Business). A family operated business since 2001, specializing in underground utility construction. This includes the construction of electric, telephone, fiber optics, water, sewer, storm drains, and reclaimed water systems.</p>
<h2 id="content">Accreditations: </h2>
<ul>
<li>A certified Service Disabled Veteran Owned Business (SDVOB) by the U.S.Veteran’s Administration
<li>A certified Small Business Enterprise (SBE) by the City of Phoenix, Az.
<li>Licensed as a Class A General Engineering Contractor in the state of Arizona
<li>Licensed as a Class A General Engineering Contractor in the state of Nevada
<li>Licensed as a Class A General Engineering Contractor in the state of Virginia
<li>Licensed as a GF-9 Underground Utility Contractor in the state of New Mexico
</li>
</ul>
</p>
</div>
Thanks Everybody