Reply to Re: CSS and lists

Your name:

Reply:


Posted by Andy Dingley on 05/27/06 02:52

On 26 May 2006 15:54:11 -0700, sachaburnett@yahoo.com wrote:

>I'm just learning html and css coding and would like to know if it's
>possible to add an additional blank line

Don't (EVER !) "add blank lines". Instead take the break you already
have and make it render into a larger size.

Adjust the margin-top and margin-bottom properties of <li>

You _might_ change padding-top and padding-bottom too, if you understand
the CSS box model. Try changing the background colour on <li> first and
seeing what effect these changes have.

Be aware that the default stylesheet for <ul><li> is different between
browsers. Some space the lists with margins, some with padding. If you
want to change these values consistently across browsers, set all of
them (even if you set most to 0).

[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

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