You are here: Re: <ul> & <il> gives 1 more line? « HTML « IT news, forums, messages
Re: <ul> & <il> gives 1 more line?

Posted by Kim Andr� Aker� on 04/01/06 13:52

affiliateian@gmail.com wrote:

> Sorry, they are <li>'s. My typo.
>
> What is the proper syntax for controling margins? I tried this this in
> the CDD but nothing happened:
>
> LI { margin: 0; }
>
> When I tried this:
>
> UL { margin: 0; }
>
> it took away the extra line but it also removed all the bullet points.
>
> Can anyone share the proper syntax for the CSS?

Try this:

UL { margin-top: 0; margin-bottom: 0; }

That'll keep the side margins to the default.

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

 

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

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