positioning list numbers with a CSS or theme

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to place the numebers of a numbered list at the left text margin
instead of a certain distance from the left-margin (standard). But if I
change the paragraph values the numbers end up left of the left margin. Also
I want it the same way for the whole website by changing the the CSS or theme
of the site. I can't find the right variable/tag. PLease help?
 
Consider this code -

<style type="text/css">
<!--
ul {
margin-left: 0px;
}
-->
</style>
</head>

<body>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<p>&nbsp; </p>
</body>
</html>

(by the way, I said to set the margin on <li> and I should have said to set
it on <ul>)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top