Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bullets on margin versus indented 2

Status
Not open for further replies.

etu1972

Programmer
Jul 29, 2002
69
0
0
US
Is there a way to force the bullets in a list to be on the left margin versus indented? Thanks, AMc

Should I stay or should I go? Thanks & Goodbye, Joe.
 
Just create a bullet image and use that instead of a list

Cheech

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks.
 
I was afraid that was the only answer. Thanks Cheech.

Should I stay or should I go? Thanks & Goodbye, Joe.
 
Never..... You can use CSS like this...



<html>
<body>
<style>
.noindent{
list-style-type:square;
margin:2px 2px 2px 20px;
}
</style>
Regular text
<ul>
<li>First line</li>
<li>Second line</li>
<li>Third line</li>
<li>Fourth line</li>
</ul>
<br>
Little or no indent
<ul class=&quot;noindent&quot;>
<li>First line</li>
<li>Second line</li>
<li>Third line</li>
<li>Fourth line</li>
</ul>
<br>
Another Example comes here
<ul style=&quot;margin:10px 10px 10px 500px;&quot;>
<li>First line</li>
<li>Second line</li>
<li>Third line</li>
<li>Fourth line</li>
</ul>

</body>
</html>

grtfercho çB^]\..
&quot;Imagination is more important than Knowledge&quot; A. Einstein
 
Thanks grtfercho. That's a great flexible solution.

Should I stay or should I go? Thanks & Goodbye, Joe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top