Reply to Re: margin or padding?

Your name:

Reply:


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 :-)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация