Drop down menu problems in IE

Discussion in 'HTML & Website Design' started by survivors, Jun 24, 2009.

  1. #1
    I am having a great deal of problems with my menu in internet explorer but it seems to work fine in firefox. www.deadfrontiersurvivors.com

    CSS:

    * {
    margin: 0;
    padding: 0;
    }

    body {
    margin-top: 220px;
    background: #000000 url(img01.jpg) no-repeat center top;
    font: normal small Verdana, Arial, Helvetica, sans-serif;
    color: #999999;
    }

    h1, h2, h3, h4 {
    color: #FFFFFF;


    }

    h2 {

    text-decoration: underline

    }

    h3 {
    }

    h4 { font-size: 17px;
    text-decoration: none;
    }

    p, blockquote, ul, ol {
    margin-bottom: 1.4em;
    line-height: 1.8em;
    text-align: justify;

    }

    p {

    letter-spacing: 0px
    }

    blockquote {
    margin-left: 2em;
    margin-right: 2em;
    font-style: italic;
    }

    ul {
    margin-left: 3em;
    }

    ul li {
    }

    ol {
    margin-left: 3em;
    }

    ol li {
    }

    a {
    text-decoration: none;
    color: #FFFFFF;
    }

    a:hover {
    text-decoration: underline;
    }

    img {
    border: 0px solid #C4C2C2;
    }

    /* Boxed Style */

    .boxed {
    margin-bottom: 20px;
    }

    .boxed .title {
    margin: 0;
    padding: 5px 0;
    background: url(img07.gif) repeat-x left bottom;
    font-size: 1em;
    }

    .boxed .content {
    padding: 15px;
    }

    /* Post */

    .post {
    }

    .post .title {
    padding: 10px 0;
    background: url(img07.gif) repeat-x left bottom;
    font-size: 1.6em;
    font-weight: normal;
    }

    .post .date {
    padding-top: 5px;
    font-size: .8em;
    font-weight: normal;
    }

    .post .date .month {
    }

    .post .date .day {
    }

    .post .date .year {
    }

    .post .meta {
    padding-bottom: 10px;
    background: url(img07.gif) repeat-x left bottom;
    font-size: .8em;
    }

    .post .meta p {
    margin: 0;
    line-height: normal;
    }

    .post .story {
    padding: 20px;
    }

    /* Header */

    #header {
    height: 61px;
    background: url(img02.gif) repeat-x;
    }

    /* Header > Logo */

    #logo {
    width: 700px;
    height: 19px;
    margin: 0 auto;
    padding: 6px 0 0 0;
    }

    #logo h1, #logo h2 {

    letter-spacing: 1px;
    font-size: 11px;
    }

    #logo h1 {
    float: left;
    }

    #logo h2 {
    float: right;
    }

    #logo a {
    }

    /* Header > Menu */

    a {
    text-decoration: none;
    }

    a:link {
    color: #white;
    }

    a:visited {
    color: #white;
    }

    a:active {
    color: white;
    }

    a:hover {
    text-decoration: none;
    }

    .divlink a {
    display: block;
    width: 160px;

    }

    .divlink a:hover {

    }

    ul {
    list-style: none;
    width:60em;
    padding: 0;
    margin: auto;

    }

    #nav a {
    font-weight: normal;
    color: #red;
    }

    #nav a {
    text-decoration: center;
    }

    #nav li li a {
    display: block;
    font-weight: normal;
    color: #red;

    }

    #nav li li a:hover {
    width: 160px;
    background: none;

    /* Fix IE. Hide from IE Mac \*/
    * html ul li { float: left; height: 1%; }
    * html ul li a { height: 1%; }
    /* End */

    }

    li {
    float: left;
    position: relative;
    width: 9em;
    text-align: center;
    cursor: default;
    background-color: none;
    border: none;

    }

    li#first {
    border-left-width: 0em;
    }

    li#last {
    border-right-width: 0em;
    }

    li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    font-weight: normal;
    background-color: #white;
    }

    li>ul {
    top: auto;
    left: auto;
    }

    li li {
    display: block;
    float: none;
    margin:0;
    padding:0;
    background-color: black;
    border: 0px;
    }

    li:hover ul, li.over ul {
    display: block;
    }

    /* Content */

    #content {
    width: 700px;
    margin: 0 auto;
    padding: 20px 0 0 0;
    }

    /* Content > Main */

    #main {
    float: right;
    width: 800px;
    }

    I'm sorry if i posted the code the wrong way and thank you.
     
    survivors, Jun 24, 2009 IP