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!

<UL><LI> Help please... 2

Status
Not open for further replies.

MikeBarone

Programmer
Mar 1, 2001
354
0
0
US
I want to make bullet points but I don't want the inherent blockspace/indentation that comes with the <UL><LI> usage.

Is there a way to call out the bullet without using <UL><LI>?

-
Mike
FREE CGI/Perl/JavaScripts
 
Code:
&bull;

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Hmm.

You can certainly use the character entity for a bullet but if you are representing a list then you should really be using list elements.

If you don't like the default styling of these then you should change it with CSS.

For instance

CSS:
ul {
margin-left:0;
}

will remove the left margin-indentation completely.
However this will possibly make your bullets stick out of the left edge of your text. This is actually typographically correct but you may prefer

CSS:
ul {
margin-left:1.5em;
}

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
Sorry, the code should have been

Code:
	ul {
			margin-left:1em;
			padding-left:0;
		}

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top