How can I get rid of the automatic indenting caused by the <ul> tag? For example, I want this:
To look likeQuote:
• Stuff here
Quote:
• Stuff here
Printable View
How can I get rid of the automatic indenting caused by the <ul> tag? For example, I want this:
To look likeQuote:
• Stuff here
Quote:
• Stuff here
Uhm... don't use UL, or manipulate it in CSS.
<ul style="margin-left:0">Stuff here</ul>
Didn't work. BTW, I'm using it for unordered lists, like this:Quote:
Originally posted by thinktank2
<ul style="margin-left:0">Stuff here</ul>
Code:<ul style="margin-left:0">
<li>stuff</li>
</ul>
<ul>
<li style="margin-left:-1.5em" type="disc">Stuff here</li>
</ul>
That worked, thanks. :)
I don't know if it's bad practice or what, but the indent goes away if you just put the <li> elements without the <ul> elements.
I don't think your HTML would validate...
The point of the list tags is to present data as a list to the user, not to really specify the indent presentation, CSS is for that.