aboutsummaryrefslogtreecommitdiff
path: root/html/functions.php3
diff options
context:
space:
mode:
authorDavid Aspinall1999-08-17 18:43:40 +0000
committerDavid Aspinall1999-08-17 18:43:40 +0000
commit8d9474556f1ddb9b4f4289aa8786dacc040fce6d (patch)
tree0a2c96da6e513ef1588d9512cdbb69bab6c9e12f /html/functions.php3
parent2b65c11df4b130fdab68f6f88ef95b1c1648629a (diff)
HTML tweaks
Diffstat (limited to 'html/functions.php3')
-rw-r--r--html/functions.php37
1 files changed, 5 insertions, 2 deletions
diff --git a/html/functions.php3 b/html/functions.php3
index 48dc3757..3d215f4f 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -40,14 +40,17 @@ function pg_email() {
}
-/* Style sheet element for dt doesnt work in
- Netscape, so hack it here.
+/* Style sheet element for dt doesnt work in Netscape 4, so hack it here.
+ NB! This violates HTML 4 DTD.
*/
function dt($string) {
print "<dt><div style=\"font-style:italic; font-weight: bold\">";
print $string;
print "</div></dt>";
+/* Good version, okay in IE:
+ print "<dt>" . $string . "</dt>";
+*/
}
/* Automatic footnotes? */