5 replies [Last post]
mdnewsguy
mdnewsguy's picture
Offline
Enthusiast
Philadelphia, PA
Last seen: 13 years 51 weeks ago
Philadelphia, PA
Timezone: GMT-5
Joined: 2007-01-23
Posts: 69
Points: 0

http://concilio.ianncomm.com

Works fine in firefox, but in ie (6 & 7) the "festivals" drop down menu appears to the right of the link. I can't figure out what's causing this, i tried adding a class and giving it margins and left properties to move it, but nothing works. Can anyone help me please? Thank you.

#nav ul { padding:0; margin:0; list-style:none;

}

#nav {
padding:0;
margin:0;
margin-left:20px;
padding-top:15px;
margin-bottom:20px;
list-style:none;
font-size:12px;
color:#ffffff;
}

#nav a {
display:block;
width:auto;
color:#ffffff;
text-decoration:none;
}

#nav a:hover {
color:#F5F21B;
text-decoration:underline;
}

#nav li {
float:left;
width:auto;
padding:0px 3px 0px 3px;
}

#nav li ul {
position:absolute;
width:75px;
left:-999em;
background-color:#6C0C42;
z-index:100;
}

ul.festivals {
left:auto;
left:-75px;
}

#nav li ul li {
padding:3px;
}
#nav li:hover ul {
left:auto;
}

#nav li:hover ul {
left:auto;
}

#nav li.sfhover ul {
left:auto;
}

#nav li:hover, #menu li.hover {
position: static;
}

"If you're still using ie5, you have bigger problems than not being able to view my website."

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Hi M8 How about validating

Hi M8

How about validating it?

The capital L Li won't help.

mdnewsguy
mdnewsguy's picture
Offline
Enthusiast
Philadelphia, PA
Last seen: 13 years 51 weeks ago
Philadelphia, PA
Timezone: GMT-5
Joined: 2007-01-23
Posts: 69
Points: 0

the only errors that came up

the only errors that came up were javascript errors and capitals in the "L" of the li tags. this didn't fix the problem. the javascript code shouldn't affect it, but i'm not that great at javascript.

"If you're still using ie5, you have bigger problems than not being able to view my website."

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

See this line: <li><a

See this line:

  • Festivals
  • Shouldn't the a end on it (</a>)

    mdnewsguy
    mdnewsguy's picture
    Offline
    Enthusiast
    Philadelphia, PA
    Last seen: 13 years 51 weeks ago
    Philadelphia, PA
    Timezone: GMT-5
    Joined: 2007-01-23
    Posts: 69
    Points: 0

    Oh wow. Thank you very much.

    Oh wow. haha Thank you very much. Now I feel stupid... :rolleyes:

    "If you're still using ie5, you have bigger problems than not being able to view my website."

    ClevaTreva
    ClevaTreva's picture
    Offline
    Guru
    A hilly place, UK
    Last seen: 3 years 12 weeks ago
    A hilly place, UK
    Joined: 2004-02-05
    Posts: 2902
    Points: 0

    Nothing that clicking on the

    Nothing that clicking on the html tidy button wouldn't have done.