andreas: List definieren

Hallo,
ich habe mir Listmenüs gebaut mit <ul><li></li></ul

Hierzu habe ich am Anfang in der css Datei alles auf NULL gesetzt mit

#box {
width: 910px;
margin:0 auto;
background-color: #94A29C;
}
#navlist ul {
 margin-left:0;
 padding-left:0;
 list-style-type:none;
 width:auto;
}

#navlist ul li {
 float:left;
 display:block;
}

#navlist ul li a {
 float:left;
 display:block;
 color:#fff;
 text-decoration:none;
 padding-top: 6px;
 padding-left: 10px;
 padding-right: 10px;
 padding-bottom: 7px;
 outline:0;
}
...
klappt supper und einwandfrei.

Jetzt habe ich aber Content, der durch eine Aufzählung durch eine Listenformation dargestellt werden soll. Wenn ich jetzt die ul li ansprechen will reagieren sie nicht.
z.B.

#listcontent ul li {
marker-offset: 0px;
margin-left: -20px;
vertical-align: bottom;
list-style-image: url(../css/ul.gif);
font-family: Verdana;
font-size: 10px;
line-height: 18px;
color: #4A494E;
font-weight: normal;
}

<ul id="listcontent">
<li>List Aufzählung 1</li>
<li>List Aufzählung 2</li>
<li>List Aufzählung 3</li>
<li>List Aufzählung 4</li>
</ul>

Wo ist mein Fehler bzw. und wie kann ich das beheben

  1. Hallo andreas,

    #listcontent ul li { ...

    Versuchs mal mit
      ul#listcontent li { ...

    Gruß
    ottogal

    1. Hi,

      danke,

      hatte wohl einen Fehler gemacht, jetzt nur noch definieren und es klappt wieder
      Danke

      #listcontent ul li { ...

      Versuchs mal mit
        ul#listcontent li { ...

      Gruß
      ottogal

  2. Hallo,

    #listcontent ul li {

    hast du denn ein solches Element mit dieser id, in welchem sich die Liste befindet?

    Grüsse

    Cyx23