Need help formatting an ordered list inside an ordered list

When I have a list inside another list it indents too far. Is there a way I can change the indents to stop this from happening or limit how far right the text goes. I've attached a picture of the text and what I have for a list inside another list. Thank you
Brandon GarnettAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zephyr_hex (Megan)DeveloperCommented:
So, that space is padding on the inner ol.  You can target it using CSS and set the left padding:

ol li > ol {
  padding-left: 10px;

Open in new window

Bill PrewIT / Software Engineering ConsultantCommented:
The other CSS item to experiment with is margin-left, they are related but depending on the situation one will work better than the other.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brandon GarnettAuthor Commented:
Thanks margin-left seemed to work. Had to use negative values to get it to move over. Is that normal?
Bill PrewIT / Software Engineering ConsultantCommented:
You might be able to adjust the padding of the containing object then, rather than the margin of the contained object.  A decent explanation of the items here...

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.