|
Posted by Knut Krueger on 05/28/07 17:07
Ben C schrieb:
> On 2007-05-28, Knut Krueger <knut.krueger@usa.com> wrote:
> You can always do:
>
> ul.foo li { margin: 1em 0; }
>
> which means "apply the margin to <li>s that are descendents of <ul>s
> with class of foo"
>
> Or
>
> ul.foo > li { margin: 1em 0; }
>
> "apply the margin to <li>s that are children of <ul>s with class of foo"
Much quicker
Thank you.
.... just laughing over foo - its not common in Germany and I was looking
for a function foo the first time I read this in R-Statistic Language-
and I was searching a long time :-)
Navigation:
[Reply to this message]
|