On 6/29/06, Susie Gardner-Brown <[EMAIL PROTECTED]> wrote:
In my stylesheet I start off with "* {margin:0; padding:0;}" and then put
margin and padding back in as required. I also start of with
'list-style-type: none' for ul ol.

I can't seem to make an ordered list I want to be there, indent. I've put
the list-style back, given it a list style and 5px padding on the left. What
is it I'm missing? Is there an indent property I don't know about that I
should be using?


I recommend a 1em margin on "ol li". That's:

ol li { margin-left:1em; }

This should get them looking right.

For future projects, consider using initial.css rather than the
universal selector:

http://kurafire.net/log/archive/2005/07/26/starting-css-revisited

I use it on all my sites and it saves me a lot of trouble.

--
--
Christian Montoya
christianmontoya.com ... portfolio.christianmontoya.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to