Using a specific character as a list item bullet

  • Thread starter Nathan Sokalski
  • 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.
 
R

Rob ^_^

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.
 
S

Swifty

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>
 

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

Top