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

Posted by Ed Mullen on 05/28/07 18:09

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.
The derivative is from the acronym "fubar" which is sometimes read as
"Fouled Up Beyond All Repair." Commonly used in the U.S. Military.

http://en.wikipedia.org/wiki/FUBAR

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net

 

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

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