Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q2089 How do I make custom bullets?

You are here: irt.org | FAQ | HTML | Q2089 [ previous next ]

One common use of the definition list has nothing to do with definitions, but instead deals with adding custom bullets to an otherwise unordered list. In this trick, leave the <dt> tag empty, and add an <img> tag that references the desired bullet image at the beginning of each <dd> tag. For example:

<dl>
  <dt><dd><img src="fancy_bullet.gif">Pickled Kumquats
  <dt><dd><img src="fancy_bullet.gif">'Quats and 'Kraut 
  <dt><dd><img src="fancy_bullet.gif">'Quatshakes 
  <dt><dd><img src="fancy_bullet.gif">Liver with Fried 'Quats
</dl>

©2018 Martin Webb