[pmwiki-users] advanced (I guess) CSS question for bulleted lists

Tegan Dowling tmdowling at gmail.com
Mon Jul 9 16:38:08 CDT 2007


On 7/9/07, H. Fox <haganfox at users.sourceforge.net> wrote:
>
> On 7/9/07, Tegan Dowling <tmdowling at gmail.com> wrote:
> > Hi list:
> >
> > I'd like to be able to specify the amount of indentation for
> second-level
> > list items (two asterisks) in my SideBars.
> >
> > [...] I tried
> >
> > #NavCell li ul {
> >     font-size: 90%;
> > }
> >
> > #NavCell li ul li {
> >     margin-left: 15px;
> >     margin-right: 3px;
> > }
> >
> > But that made no difference to font-size or indentation.
> >
> > Anyone care to take a stab at it?
>
> Maybe instead of
>
>    #NavCell li ul { ... }
>    #NavCell li ul li { ... }
>
> try
>
>    #NavCell ul ul { ... }
>    #NavCell ul ul li { ... }
>
> for the nested list.



Thanks for trying, Hagan and Jose, but  I haven't been able to change the
second-level items in any way.  I've tried:

#NavCell ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#NavCell li {
    padding-bottom: 3px;
    margin-left: 10px;
    margin-right: 3px;
}

#NavCell ul ul {
    font-size: 50%;
    }

#NavCell ul ul li {
    margin-left: 10px;
    margin-right: 3px;
}


And also tried:

#NavCell ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#NavCell li {
    padding-bottom: 3px;
    margin-left: 10px;
    margin-right: 3px;
}

#NavCell ul li p ul {
    font-size: 50%;
    }

#NavCell li ul li {
    margin-left: 10px;
    margin-right: 3px;
}

Neither version differs from

#NavCell ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#NavCell li {
    padding-bottom: 3px;
    margin-left: 10px;
    margin-right: 3px;
}


Did I implement your suggestions as you intended, or did I misunderstand, or
do we just need to try yet another approach?

Thanks again,

Tegan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070709/45cebb03/attachment.html 


More information about the pmwiki-users mailing list