You are here: Re: Setting the distance between numbers and text in an ordered list. « HTML « IT news, forums, messages
Re: Setting the distance between numbers and text in an ordered list.

Posted by Ed on 07/30/05 05:53

richard_quick_uk@hotmail.com wrote:
> Hi,
>
> Quick question that's been bugging me.
>
> I want to set the distance between the numbers and the txt in an
> ordered list - and I can't for the life of me figure out how in CSS.
>
> Any ideas?
>
> The CSS is:
>
> ol {
> padding: 0;
> margin: 5px 0 10px 0;
> margin-left: 23px;
> color: #cc0000;
> }
>
> ol li {
> list-style-position: outside;
> margin: 0;
> }

Add left padding to the list items: ol li { padding-left: 10px }

--
Koren Web Design Services
www.korenwebdesign.com
(304) 453 2145

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

 

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

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