Using a specific character as a list item bullet

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I have a bulleted list (which was created using ASP.NET's BulletedList
control), and I want to use a specific character as the bullet. I have seen
ways to choose predefined bullets, and ways to use images as bullets, but
does anybody know of a way to use a custom character? (The character I want
to use isn't that strange, I just want an empty square instead of a filled
one, I am kind of surprised that it doesn't already exist as a standard
option). I looked at CSS, but that didn't seem to offer any other options
you can't get with plain HTML. Any ideas would be appreciated. Thanks.
 
Hi Nathan,

Use a picture of an empty square instead. If you specify a font face and hex
character code, client browsers wont necessarily render the character,
depending upon their Accessibility settings to 'Ignore font styles' or 'Use
a user stylesheet' and their default font preferences.

The only drawback is that text resizing the page will not resize the bullet
image, but page zooming will.

Regards.
 
I have a bulleted list (which was created using ASP.NET's BulletedList
control), and I want to use a specific character as the bullet.

Well, if you're prepared to build the bulleted list yourself manually,
you could use <INPUT TYPE=CHECKBOX> to get the effect you want. Your
users would even be able to play with checking/unchecking the boxes!

To get the effect of the list you could use a simple 2-column table
without any borders. That way the text following each bullet would
automatically indent properly if it wrapped. You'd have to use vertical
alignment in the column containing the "bullets":

<TABLE>
<TR VALIGN=TOP><TD><INPUT TYPE=CHECKBOX></TD><TD>Some Stuff</TD></TR>
</TABLE>
 
Back
Top