PDA

View Full Version : Creating nongraphical inline-bullets that validate



edavis
11-12-2003, 11:29 AM
I am looking for a way to create inline bullets to act as a separator in a footer. I am using • however it does not validate correctly since it is a non-SGML character. Does anyone know the proper way to display an inline bullet that will validate short of creating a graphical bullet?

tertius
11-14-2003, 03:33 PM
Try using one of the HTML character entity codes, using either the entity code name or the entity code number.

A page I've found helpful as a good source for the less common HTML character entity codes covering additional ISO 8859-1 characters (latin-1), symbols, mathematical symbols, Greek letters, and for markup-significant and internationalization character entities can be found at: http://www.aim-higher.net/EntityReferenceViewer.asp . It shows the bullet dot code as: & bull ; or & # 8226 ; without the spaces. If this doesn't work, you might look through the chart for a substitute symbol....

HTH!
-Tertius

Narasinha
11-15-2003, 12:24 AM
I was working on a similar situation the past couple days. What do you use for a bullet? My particular concern for this was Accessibility standards. To meet WAI standards, adjacent links must be separated by non-white-space printable characters. I have frequently used &middot; (& middot;) for such purposes, or the "pipe" character, |. It is also possible to create the effect of a separator with CSS using a well-defined <span> class.

One advantage of the | character is that Jaws, a Windows screen reader, ignores it.