Hi
I am currently working on a spry drop down menu on dreamweaver everything is just how I need it apart from the sub menu in internet explorer doesn't drop down in a straight line the third one is at the side of the second(as shown on screenshot)This is the code any help will be greatly appreciated if any one knows what could be the problem I am new to this and can't seem to find a solution.
Thanks
Faye
<html>
<head>
<title>chriswebsite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #003;
}
.textbackgroundleft {
background-color: #FFF;
background-repeat: no-repeat;
width: 563px;
margin: 0px;
padding-left: 25px;
padding-top: 25px;
padding-right: 35px;
}
.mainheading {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #009;
font-variant: normal;
text-transform: capitalize;
font-style: normal;
font-weight: bold;
letter-spacing:2px
}
.rightcontactbackground {
background-image: url(images/rightcontactbackground.jpg);
background-repeat: no-repeat;
height: 100%;
width: 297px;
margin: 0px;
padding-top: 25px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 15px;
}
h1,h2,h3,h4,h5,h6 {
font-family: Arial, Helvetica, sans-serif;
}
h1 {
font-size: 24px;
color: 262262;
}
h2 {
font-size: 14px;
color: 00BAF2;
}
h3 {
font-size: 12px;
color: 414042;
}
-->
</style>
<link href="stylesheet2.css" rel="stylesheet" type="text/css">
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (chriswebsite.psd) -->
<table width="850" height="1230" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td height="117" colspan="2">
<br>
<img src="images/images/chriswebsite_01.png" width="850" height="117" alt=""></td>
</tr>
<tr>
<td height="38" colspan="2" class="stripnav"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html" title="Home">Home</a> </li>
<li><a href="productsservices.html" title="Products and Services">Products/Services</a></li>
<li><a href="#" title="Countries" class="MenuBarItemSubmenu">Countries</a>
<ul>
<li><a href="unitedkingdom.html" title="United Kingdom">United Kingdom</a></li>
<li><a href="africa.html" title="Africa">Africa</a></li>
<li><a href="ethiopia.html" title="Ethiopia">Ethiopia</a></li>
</ul>
</li>
<li><a href="training.html" title="Training">Training</a> </li>
<li><a href="contactus.html" title="Contact Us">Contact Us</a></li>
</ul></td>
</tr>
<tr>
<td height="116" colspan="2">
<img src="images/images/chriswebsite_03.jpg" width="850" height="117" alt=""></td>
</tr>
<tr>
<td valign="top" class="textbackgroundleft"><p class="mainheading">OVERVIEW</p>
<p class="mainheading"><span class="secondaryheading">What We Do</span></p>
<p class="regularbodytext">We remanufacture turbochargers to the manufacturer’s original specification. We also offer upgrade turbos. Even the greatest machines wear out, loose power or just don’t provide you with that kick it once had.</p>
<p class="regularbodytext"><span class="mainheading"><img src="images/examplepicture.jpg" width="450" height="254" alt=""></span></p>
<p class="regularbodytext">In many cases there is only one option with other companies, “buy a new one”, not us, with the latest <br>
technology VSR4 we can take your turbo charger, re-manufacture it, to its original manufacturer’s <br>
specification. Eliminating what could have cost you much more. S</p>
<p><span class="regularbodytext">Maybe you are looking for something larger or maybe a bit more unique, whatever your requirements, <br>
with our wide Varity of expertise and rapid shipping, you can be assured you’re in the hands of professionals</span><br>
</p>
<p class="mainheading"> </p>
<p class="mainheading"> </p>
<p class="mainheading"> </p>
<p class="mainheading"> </p></td>
<td valign="top" class="rightcontactbackground"><p><span class="mainheading">CONTACT US</span><br>
<br>
<span class="regularbodytext">For Any Email Enquiries
Please Fill In The Below Form <br>
</span><span class="regularbodytext">& We Will Try To Get Back To
You As Soon <br>
As Possible</span></p>
<form enctype="multipart/form-data" name="contact_form" method="post" class="cmxform" id="commentForm" action="contact.php">
<p>
<label class="secondaryheading"><strong>Name</strong></label><br />
<input name="name" type="text" class="input required" id="name" size="35" />
</p>
<p>
<label class="secondaryheading"><strong>E-mail</strong></label><br />
<input name="email" type="text" class="input required email" id="email" size="35" />
</p>
<p>
<label class="secondaryheading"><strong>Message</strong></label><br />
<textarea id="Field1" name="message" class="input required" rows="10" cols="30" ></textarea>
</p>
<p>
<input type="submit" input id="saveForm" value="Send Message" class="button"/></p>
</form>
</p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td colspan="2">
<p><img src="images/images/chriswebsite_06.png" width="850" height="223" alt=""></p>
<p class="legal">Registered in England and Wales, Company Number: 7502475 l Copyright © 2011 Turbo Charger Service Ltd<br>
<br>
<br>
</p></td>
</tr>
</table>
<!-- End Save for Web Slices -->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright © 2006. Adobe Systems Incorporated. All rights reserved. */
/*******************************************************************************
LAYOUT INFORMATION: describes box model, positioning, z-order
*******************************************************************************/
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
background-color: transparent;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1010;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
float: left;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
;
padding: 0;
list-style-type: none;
font-size: 13pt;
z-index: 1000;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
text-align: center;
background-color: #263473;
visibility: visible;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
width: auto;
float: none;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: 95% 0 0 -5%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: 8em;
top: 0;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
text-decoration: none;
color: white;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
text-align: center;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
color: 00BAF2;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
text-align: center;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
color: 00BAF2;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
}
}