- From: Patti Anastasia <pattia@silknet.com>
- Date: Mon, 22 Sep 1997 13:41:39 -0400
- To: "'WWW style sheet list'" <www-style@w3.org>
Folks,
I'm having a problem with a LINKed CSS, IE3.02 (Win95), and HTML files
that contain intrafile jumps.
Most of the HTML files in the project contain jumps to other HTML files.
A few of the files have hotspots that jump to an anchor that is within
the file (intrafile jumps).
When I LINK my CSS to files containing intrafile jumps, the intrafile
jumps don't work. If I embed the style sheet, the intrafile jumps work.
It doesn't seem to matter what the CSS contains for style definitions. I
can't get any LINKed CSS to work with intrafile jumps.
Can anyone shed some light on why I can't get my LINKed style sheet to
work in files containing intrafile jumps?
Thanks,
Patti
Here's my style sheet:
/* -- filename: style.css -- */
/* ---------------- base body styles ------------- */
body { background-color: #FFFFCC; font-size: 70%;
font-family: Verdana, Arial, sans-serif; }
p { margin-top: 0em; margin-bottom: -5em;
font-size: 70%; }
/* ---------------- anchors ---------------- */
a:link { color: #0000FF; }
a:visited { color: #800080; }
/* ---------------- lists ---------------- */
/* -- numbered list style -- */
ol { margin-top: -5em; margin-bottom: -5em;
margin-left: -12em; font-size: 70%; }
/* -- bulleted list style -- */
ul { list-style-type: disc; margin-top: -5em;
margin-bottom: -5em; margin-left: -12em;
font-size: 70%; }
/* -- definition list (for glossary) -- */
dl {font-size: 70%; }
/* -------------- headings 'n' stuff -------------- */
/* -- base heading style -- */
h5 { font-size: 95%; font-weight: normal;
color: #800000; margin-top: 0em;
margin-bottom: -5em; }
/* -- topic title -- */
h5.topich { font-weight: bold; }
Here's an example of a file containing intrafile jumps.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>eService Glossary</TITLE>
<!-- If I LINK style.css, intrafile jumps don't work -->
<!-- if I embed my style.css, intrafile jumps work -->
<LINK REL=STYLESHEET HREF="style.css" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFCC">
<H5 CLASS=TOPICH>Glossary of Terms</H5>
<P><A NAME="GlossTop">Click a letter: </A>
<A HREF="#GlossA">A</A>
<A HREF="#GlossB">B</A>
<A HREF="#GlossC">C</A>
</P>
<HR>
<!-- Letter A -->
<H5 CLASS=TOPICH><A NAME="GlossA"> A </A></H5>
<DL>
<DT><A NAME="attribute_def">attribute</A>
<DD>a characteristic of an eService object, such as a case or a
solution.
</DL>
<DL>
<DT><A NAME="attrb_value_def">attribute value</A>
<DD>specific data attached to an attribute, such as a specific date or
model number.
</DL>
<P><A HREF="#GlossTop">Top</A></P>
<HR>
<!-- Letter B -->
<H5 CLASS=TOPICH><A NAME="GlossB"> B </A></H5>
<DL>
<DT>b-term
<DD>b-definition
</DL>
<P><A HREF="#GlossTop">Top</A></P>
<HR>
<!-- Letter C -->
<H5 CLASS=TOPICH><A NAME="GlossC"> C </A></H5>
<DL>
<DT>c-term
<DD>c-definition
</DL>
<P><A HREF="#GlossTop">Top</A></P>
<HR>
</BODY>
</HTML>
---------------------------------------------------------
Patti Anastasia pattia @silknet.com
Silknet Software 603.625.0070 (voice)
50 Phillippe Cote Street 603.625.0428 (fax)
Manchester, NH 03101
http://www.silknet.com
Received on Monday, 22 September 1997 13:46:09 UTC