You will see that the numbers/bullets generated by my HTML make the elements at the left look ugly
http://i.stack.imgur.com/nAb8C.jpg
I am trying to use margin and padding at my CSS neither works. Help.
I want the numbers to show at least 5px from the left of the image.
Add
list-style-position: inside
to yourol
tag in your CSS stylesheetThis is the reason why default browser stylesheets have a padding for lists.
I think you removed the padding of the OL tag. Or two margins are adjoining (from the image and ol).
Do you have the code?