Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Headings In Articles?

Maybe I'm missing something, but I can't find a way to conveniently put HTML heading tags (e.g. <H3></H3>) around sub-headings within my articles. I've only been able to do it by changing to HTML View and manually entering them. Is there a better way to do this?

Darren Collins
Thursday, November 15, 2001

If you only have one level of sub-headings, one thing you might do is use plain ol' bold text (or underline) for the subheadings, then change your style sheet in the template to map bold (underline) to the large font and style you want.

I did this for the CityDesk help file. Notice how the bold text in the help file is in a different font than all the other text? I did this with the following style sheet:

<style type="text/css">
STRONG {font-weight: bold; font-family: Verdana, sans-serif; }

Use "STRONG" for bold, "EM" for italic, "U" for underline.

Joel Spolsky
Thursday, November 15, 2001

*  Recent Topics

*  Fog Creek Home