This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > styling footnotes a la Chicago/Turabian





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author styling footnotes a la Chicago/Turabian
Haines Brown

2005-10-30, 6:27 pm


At present I style my footnotes as follows:

.note {
vertical-align: super;
font-size: smaller;
padding-right: 2px;
}

<p>
<a name="N1" class="note">1</a>
<note text>
</p>

However, it would be nice to use the OL element so that the footnotes
are automatically numbered in sequence. To do this:

ol li{vertical-align: super; font-size: smaller;}
li p{vertical-align: sub; font-size: larger;}

<ol>
<li><p>note text</p></li>
<li><p>note text</p></li>
</ol>

The problem with this is that the numbers are followed by periods. Is
there any way to get rid of the periods so that the number is
immediately followed by the footnote text?

--

Haines Brown
KB1GRM
Jukka K. Korpela

2005-10-30, 6:27 pm

Haines Brown <brownh@teufel.hartford-hwp.com> wrote:

> At present I style my footnotes as follows:


How do you make footnotes work in the first place. They basically don't.
Endnotes or links work much better on the Web as it is now.

> .note {
> vertical-align: super;
> font-size: smaller;
> padding-right: 2px;
> }
>
> <p>
> <a name="N1" class="note">1</a>
> <note text>
> </p>


The Chicago Manual of Style (15th ed., clause 16.25) recommends that
footnote numbers be written as normal numbers, not superscript.

On the web, a footnote reference and a footnote should normally be linked
to each other both ways. For reasons and techniques, see
http://www.cs.tut.fi/~jkorpela/www/fn.html
I mention this because making a footnote number a link is yet another
reason to make it appear in normal font, not as superscript.

> However, it would be nice to use the OL element so that the footnotes
> are automatically numbered in sequence.


I doubt that. It would defeat the linking idea (or at least its natural
implementation). Moreover, you still have to keep track of the numbers in
the footnote references.

> The problem with this is that the numbers are followed by periods. Is
> there any way to get rid of the periods so that the number is
> immediately followed by the footnote text?


No. Browsers aren't really _supposed_ to put periods after the list item
numbers they generate, but they actually do, and they don't give us a way
to prevent that.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews