close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Horizontal Menu with Dropdowns not working in IE7

Thread began 6/14/2010 7:06 pm by gregb440246884 | Last modified 6/20/2010 3:41 pm by gregb440246884 | 4097 views | 13 replies

neilo

Hi Greg,

Ta for listing the steps you took, and thus providing the clue, which was in the fact that the menus only stayed open when hovering over the text; so, if I may be so bold, EURIKA - I have it.

It should have ocurred to me earlier - IE7 is very fussy about having to have heights/widths stated in exact units (not %, not 'auto') There was nothing defined in the CSS to tell IE7 that there was actually a menu item there - apart from the text (which it saw because it was defined in the CSS) - as there was no width and height for the Level-1 menu items. They were effectively invisible to IE7.

In your final pages, check which stylesheet is being referred to, (in the test2.php page it is 'cssmw1' - see the line : <ul class="level-0" id="cssmw1"> )

and either change the menu.css for that page's menu (CSSMenuWriter/cssmw1/menu.css) Line 107-ish onwards:

ul#cssmw1 ul.level-1 > li > a, ul#cssmw1 ul.level-1 > li > a:link {
background-color: #f0b478;
background-image: url("../cssmw1_images/topNavDropdown.jpg");
background-repeat:repeat-y; /* Add this line */
border-bottom: solid 1px #f0b478;
border-right-style: solid; /* Remove this line */
color: #644b32;
display: block;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: .7em;
font-style: normal;
font-weight: bold;
margin: 0 0 0 0;
padding: 5px 5px 5px 5px;
text-decoration: none;
width: auto; /* Change this to width:150px; */
height: 15px; /* Add this line */
outline-style: none;
}

or change the appropriate IE conditional statement in the head tags to include IE7 (currently all lte IE6) :

<!--[if lte IE 7]>
<style type="text/css" media="all">
@import url("CSSMenuWriter/cssmw1/menu_ie.css");
</style>

<![endif]-->
and change the menu.css for that page's menu (CSSMenuWriter/cssmw1/menu_ie.css) Line 107-ish onwards (same as before) :

Line 107

ul#cssmw1 ul.level-1 > li > a, ul#cssmw1 ul.level-1 > li > a:link {
background-color: #f0b478;
background-image: url("../cssmw1_images/topNavDropdown.jpg");
background-repeat:repeat-y; /* Add this line */
border-bottom: solid 1px #f0b478;
border-right-style: solid; /* Remove this line */
color: #644b32;
display: block;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: .7em;
font-style: normal;
font-weight: bold;
margin: 0 0 0 0;
padding: 5px 5px 5px 5px;
text-decoration: none;
width: auto; /* Change this to width:150px; */
height: 15px; /* Add this line */
outline-style: none;
}

That will sort it.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...