|
Posted by Curtis on 12/20/05 04:12
David Dorward <dorward@yahoo.com> wrote in message
news:do78ps$f0o$1$8300dec7@news.demon.co.uk...
> Curtis wrote:
>
> > How does one use scalable fonts with nested lists?
> >
> > Apparently if ul is {font-zize: 130%;} for example,
> >
> > * A This is 130% of context
> > * A This is 130% of context
> > ** B This is 130% of A
> > ** B This is 130% of A
> > *** This is 130% of B
> > *** This is 130% of B
>
> Yes, this is normal. If you want the top level list to be
130% of its
> parent, but all its sublists to use the same font size
then ...
>
> ul { font-size: 130%; }
> ul ul { font-size: 100%; }
Excellent, David. That works at all levels, for every ul
that has a ul as a parent.
Thanks.
--
Curtis
Visit We the Thinking
www.wethethinking.com
An online magazine/forum
devoted to philosophical
thought.
Navigation:
[Reply to this message]
|