You are here: Re: margin or padding? « HTML « IT news, forums, messages
Re: margin or padding?

Posted by Blinky the Shark on 05/28/07 18:18

Ed Mullen wrote:
> Knut Krueger wrote:
>> 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 :-)
>
> You'll also sometimes see "bar" (like - ul.foo.bar) as a sample code.

Extended, the canonical metasyntactical variables become foo, bar, baz
and quux.


--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html

 

Navigation:

[Reply to this 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

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