Hi!

I've been searching for a solution to this problem for almost a week now and I can't find anything. I'm building my first website in Dreamweaver and using a horizontal spry menu bar for the navigation. The bar shows up perfectly in Firefox (at the bottom and center of the template's header) but when I open Internet Explorer, it is anchored to the top right of page. This is my first time posting so any help would be greatly appreciated!! Thanks!

<!--
body {
	margin: 0;
	padding: 0;
	color: #000;
	background-image: url(../images/bg.gif);
	background-repeat: repeat-x;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 100%;
	line-height: 1.4;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #3D3D3D; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
	text-decoration: none;
}
a:visited {
	color: #3D3D3D;
	text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: #000276;
}

/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
	width: 960px;
	margin: 0 auto;
	background-repeat: repeat;
	background-color: #FFF;
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
	background-image: url(../images/bg.gif);
	background-repeat: repeat-x;
	background-attachment: scroll;
	height: 175px;
}
.container .header img {
	padding-top: 40px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 10px;
}

/* ~~ This is the layout information. ~~ 

1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

*/

.content {
	padding-top: 70px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
}

/* ~~ The footer ~~ */
.footer {
	color: #3D3D3D;
	font-size: 10pt;
	text-align: center;
	background-color: #FFF;
	display: block;
	line-height: 3 em;
	padding-bottom: 0px;
}

blockquote {
}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.headertable {
	text-align: center;
	float: right;
	padding-top: 20px;
}
.tablebordercenter {
	border-left-style: solid;
	border-left-color: #3D3D3D;
	border-left-width: thin;
}

.img_padding {
	padding-bottom: 20px;
}

-->
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
h1 {
	font-size: 36px;
	color: #01007E;
}
h2 {
	font-size: 24px;
	color: #00017B;
}
h3 {
	font-size: 18px;
	color: #3D3D3D;
}
h4 {
	font-size: 16px;
	color: #00017B;
}
</style>
</head>

<body>

<div class="container">
  <div class="header">
  
    <table width="200" border="0" align="right" cellpadding="5" class="headertable">
      <tr>
        <td width="70" class="tableborder"><a href="../index.html">Home</a></td>
        <td width="104" class="tablebordercenter"><a href="../contact.html">Contact Us</a></td>
      </tr>
    </table><img src="../images/HLG Logo.png" alt="HL Group, Inc." width="225" height="88" border="0" usemap="#logohome" class="img_padding" />
    <map name="logohome" id="logohome">
      <area shape="rect" coords="3,-19,255,92" href="../index.html" alt="Home Page" />
    </map>
    <!-- end .header -->
    
    <ul id="mainnav" class="MenuBarHorizontal">
      <li><a href="#" title="About Us" class="MenuBarItemSubmenu">About Us</a>
        <ul>
          <li><a href="../companyoverview.html" title="Company Overview">Company <wbr /> Overview</a></li>
          <li><a href="../ceo.html" title="Message from President">Message from<wbr /> the President</a></li>
</ul>
      </li>
      <li><a href="#" title="Solutions" class="MenuBarItemSubmenu">Solutions</a>
        <ul>
          <li><a href="../techarchitecture.html" title="Technology Architecture">Technology<wbr />Architecture</a></li>
          <li><a href="#" title="Solutions/Services">Solutions/Services</a></li>
          <li><a href="../applications.html" title="Applications" class="MenuBarItemSubmenu">Applications</a>
            <ul>
              <li><a href="../warehouse.html" title="Warehousing">Warehousing</a></li>
              <li><a href="../manufacture.html" title="Manufacturing">Manufacturing</a></li>
              <li><a href="../data.html" title="Data Collection">Data<wbr /> Collection</a></li>
              <li><a href="#" title="Assets">Assets</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><a href="../industries.html" title="Industries">Industries</a></li>
      <li><a href="#" title="Partners" class="MenuBarItemSubmenu">Partners</a>
        <ul>
          <li><a href="../business.html" title="Business">Business</a></li>
          <li><a href="../integrators.html" title="Integrators">Integrators</a>          </li>
          <li><a href="../partners.html" title="Technology" class="MenuBarItemSubmenu">Technology</a>
            <ul>
<li><a href="../highjump.html" title="HighJump">HighJump<wbr /> Software</a></li>
<li><a href="#" title="iDashboards">iDashboards</a></li>
<li><a href="../intermec.html" title="Intermec">Intermec</a></li>
<li><a href="#" title="StrongArm">StrongArm</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><a href="../blog.html" title="Blog">Blog</a>      </li>
    </ul>
  </div>

Sorry for not reading all your message, it is quite long, but the the IE places the scrollbar inside the <div> container, all other browsers outside.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.