Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
drop down menus not working in IE8
Old 12-28-2009, 05:33 PM drop down menus not working in IE8
Experienced Talker

Posts: 48
Name: April
Trades: 0
First of all I would like to say that my site is a combination of html, css, and javascript codes. Some javascript is used for the menus and this COULD be at fault. I am hoping for a CSS fix... seeing as I know how to create an override for IE. You'll have to let me know if I am posting to the wrong area.

The (incomplete) site that works fine in both safari and firefox is:
www.aeoliaphotography.com

Unfortunately the drop down menus do not work properly in Internet Explorer 8... Oddly enough the first drop down appears great, but of course the one with some "horizontal pop-out" menus doesn't work and for some reason gets shoved to the far left side of the website. From what I see I am suspecting that IE is not recognizing the block item and wants to place it inline before "Clients" and "Contact"...but there isn't enough room. That is my best guess and I am still uncertain about how to fix it.

Since I am sure you are interested in seeing the code for the menu this is it (according to the IE hack.CSS, which I have been messing with some):

Quote:
body {margin:0px; font:11px helvetica,arial; background: whitesmoke} #container a img{border:none;} a:active{outline:none;} a:focus{outline:none;} #container{ width: 900px; height: 650px; margin-top: 20px; margin-right: auto; margin-left: auto; background-color: black; } #container2{ width: 900px; height: 650px; margin-top: 20px; margin-left:0px; background: #000000 url(studio/red.png) no-repeat; } #text{ line-height: 1.9; color: #ffbbd0; font-size: 12px; font-family:"HelveticaNue",MankSans,"GeosansLight", "Helvetica", "Arial"; margin-top:100px; margin-left: 720px; width: 150px; height: 500px; } #menubar{ width: auto; height: 31px; background-image: url(images/menubar.png); }
ul.menu {list-style:none; margin:0; padding:0; float:left}
ul.menu * {margin:0; padding:0}
ul.menu a {display:block; color:#fff;font-size: 11px; text-decoration:none; list-style:none}
ul.menu li {position:relative; float:left; margin-right:2px; margin-top: 0;}
ul.menu ul {position:absolute; top:0px; left: 43px; margin-top: 20px; display:none; opacity:0; list-style:none; display:inline;}
ul.menu ul li {position:relative; border-top:none; width:148px; margin:0px} ul.menu ul li a {display:block; padding:3px 7px 5px; font-family:"GeosansLight", MankSans, "Helvetica", "Arial"; font-size: 17px; color:#fff; list-style:none}
ul.menu ul li a:hover {}
ul.menu ul ul {left:148px; top:-1px; postion:absolute;}
ul.menu .menulink {margin-top: 0px; padding-left: 0px; padding-top: 0px; padding-bottom:0px; margin-bottom:0px; font-size: 20px; font-family: "MankSans", GeosansLight", "Helvetica, Ariel; width: 134px;}
ul.menu .menulink:hover, ul.menu .menuhover {}
ul.menu .sub {background:url(images/arrow.gif); line-style:none; text-decoration:none; width; height; no-repeat}
ul.menu .topline {margin-top: 0;} ul, li {list-style-type: none;} #studio a{line-style:none; text-decoration:none; list-style-type:none; color:#fff;}
I can't imagine that you would need any more of the css since the rest is working fine.
mightyjoeape is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-28-2009, 05:34 PM Re: drop down menus not working in IE8
Experienced Talker

Posts: 48
Name: April
Trades: 0
And here is the html:
Quote:
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Portfolio of April Cummings</title> <link rel="stylesheet" href="style.css" type="text/css" /> <script type="text/javascript" src="script.js"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script> <!--[if IE]><link rel="stylesheet" type="text/css" href="iehacks.css"/><![endif]--> </head> <body> <div id="container"> <div id="container2"> <div id="menubar"> <ul class="menu" id="menu"> <li><div id="home"><a href="index.html" class="menulink">Home</a></div></li> <li><div id="about"><a href="#" class="menulink">About</a></div> <ul> <li><div id="objectives"><a href="objective.html">Objective</a></div></li> <li><div id="blog"><a href="http://aprilcummings.blogspot.com/">Blog</a></div></li> </li> </ul> <li><div id="portfolios"><a href="#" class="menulink">Portfolios</a></div> <ul> <li><div id="product"><a href="product.html">Product</a></div></li> <li><div id="location"><a href="location.html">Location</a></div></li> </li> <li> <div id="people"><a href="#" class="sub">People</a></div> <ul> <li class="topline"><div id="studio"><a href="studio.html">Studio</a></div></li> <li><div id="seniors"><a href="seniors.html">Seniors</a></div></li> </ul> </li> <li> <div id="travel"><a href="#" class="sub">Travel</a></div> <ul> <li class="topline"><div id="china"><a href="china.html">China</a></div></li> <li><div id="france"><a href="france.html">France</a></div></li> <li><div id="italy"><a href="italy.html">Italy</a></div></li> <li><div id="spain"><a href="spain.html">Spain</a></div></li> <li><div id="switzerland"><a href="switz.html">Switzerland</a></div></li> <li><div id="united"><a href="us.html" clas="sub">United States</a></div></li> </ul> <li> <div id="love"><a href="#" class="sub">Love</a></div> <ul> <li class="topline"><div id="engagements"><a href="engagements.html">Engagements</a></div></li> <li><div id="weddings"><a href="weddings.html">Weddings</a></div></li> </ul> </li> </ul> </li> <li><div id="clients"><a href="clients.html" class="menulink">Clients</a></div></li> <li><div id="contact"><a href="contacts.html" class="menulink">Contact Me</a></div></li> </ul> </div>
Please let me know what you think. I am trying my best to get this site up and running so that I can send it to possible employers.

Thank you so much! April
mightyjoeape is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to drop down menus not working in IE8
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12752 seconds with 12 queries