W3C home > Mailing lists > Public > www-style@w3.org > September 1997

Linked CSS, IE3.02, and intrafile jumps

From: Patti Anastasia <pattia@silknet.com>
Date: Mon, 22 Sep 1997 13:41:39 -0400
Message-ID: <c=US%a=_%p=Silknet_Software%l=EARTH-970922174139Z-2231@earth.silknet.com>
To: "'WWW style sheet list'" <www-style@w3.org>

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?


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.


	<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">



<H5 CLASS=TOPICH>Glossary of Terms</H5>

<P><A NAME="GlossTop">Click a letter: </A>
<A HREF="#GlossA">A</A>&nbsp;&nbsp;
<A HREF="#GlossB">B</A>&nbsp;&nbsp;
<A HREF="#GlossC">C</A>

<!-- Letter A -->
<H5 CLASS=TOPICH><A NAME="GlossA"> A </A></H5>
	<DT><A NAME="attribute_def">attribute</A>
	<DD>a characteristic of an eService object, such as a case or a

	<DT><A NAME="attrb_value_def">attribute value</A>
	<DD>specific data attached to an attribute, such as a specific date or
model number.	

<P><A HREF="#GlossTop">Top</A></P>
<!-- Letter B -->
<H5 CLASS=TOPICH><A NAME="GlossB"> B </A></H5>
<P><A HREF="#GlossTop">Top</A></P>

<!-- Letter C -->
<H5 CLASS=TOPICH><A NAME="GlossC"> C </A></H5>
<P><A HREF="#GlossTop">Top</A></P>


Patti Anastasia                 pattia @silknet.com
Silknet Software               603.625.0070 (voice)
50 Phillippe Cote Street    603.625.0428 (fax)
Manchester, NH 03101
Received on Monday, 22 September 1997 13:46:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:44 UTC