lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV <SPAN> inside <A HREF ...>


From: Jan Hlavacek
Subject: LYNX-DEV <SPAN> inside <A HREF ...>
Date: Thu, 5 Jun 1997 14:01:57 -0400 (EDT)

url: http://www.w3.org/Style/

lynx version: 2.7.1oldRP+wb+ct-0.2 

The first few links are not accessible by cursor keys.  I can access them as
numbered links, they show up in the list of links.  It is not because of 
an image with ALT="" or something like that.  Instead, it seems that  lynx
for some reason doesn't like the Cougar <SPAN> element inside the anchors.
I don't even know if <SPAN> is allowed to go in an anchor,  but since it is
W3C page about stylesheets,  I assume they know what they are doing.

Here is a segment of the source:

<TITLE>Web Style Sheets</TITLE>
</HEAD>
<BODY>
<P>
<A HREF="../"><IMG BORDER="0" ALT="W3C" SRC="../Icons/WWW/w3c_home.gif"></A>

<H1>Web Style Sheets</H1>

<P CLASS=hide>(This page uses CSS style sheets)

<P ID=p1><A HREF="#new"><SPAN ID=s1>What's new?</SPAN></A>
<P ID=p2><A HREF="#what"><SPAN ID=s2>What are style sheets?</SPAN></A>
<P ID=p3><A HREF="#press"><SPAN ID=s3>Press clippings</SPAN></A>
<P ID=p4><A HREF="#software"><SPAN ID=s4>Styled software</SPAN></A>
<P ID=p5><A HREF="#css"><SPAN ID=s5>CSS</SPAN></A>
<P ID=p6><A HREF="#dsssl"><SPAN ID=s6>DSSSL</SPAN></A>


ad here is how the page look like:


   [1]W3C
   
                               Web Style Sheets
                                       
   (This page uses CSS style sheets)
   
   [2]What's new?
   
   [3]What are style sheets?
   
   [4]Press clippings
   
   [5]Styled software
   
   [6]CSS
   
   [7]DSSSL
   
   [8]JASS, dynamic HTML, dynamic style sheets?
   
   [9]Sites
   
   [10]History
   
   [11]Other approaches
   
     [12]"Stylesheets are just plain good for everybody"
     --Simson Garfinkel, HotWired
     
What's new

     * [13]Webweek: [14]Early adopters feel empowered by Cascading Style
       Sheets
     * 970530 [15]StyleMaker is a visual design tool for creating CSS1
       Style Sheets.


All the links are there, but the links 2 to 12 are not underlined and they
are not accessible by cursor keys.

Here is what trace says.  I must admit it is a "Boehmische Dorf" :-)
for me:

SGML: Start <P>
STYLE:class:.HTML.BODY.P
GridText: split_line called
GridText: split_line called
Child anchor 26eb48 of parent 25c0c0 with name `p1' already exists.
Entered HTAnchor_findChildAndLink
STYLE:begin_element:ending EMPTY element style
STYLE:class:.HTML.BODY (trimmed .P)
SGML: Start <A>
STYLE:class:.HTML.BODY.A
new Anchor 2832d0 named `' is child of 25c0c0
Entered HTAnchor_findChildAndLink
HTParse: aName:http://www.w3.org/Style/#new   
relatedName:http://www.w3.org/Style/
1
HTParse: result:http://www.w3.org/Style/#new
HTParse: aName:http://www.w3.org/Style/#new   relatedName:
HTParse: result:new
Entered HTAnchor_findAddress
HTParse: aName:http://www.w3.org/Style/#new   relatedName:
1
HTParse: result:http://www.w3.org/Style/
HTParse: aName:http://www.w3.org/Style/   relatedName:
HTParse: result:
Entered HTAnchor_findAddress
Anchor 25c0c0 with address `http://www.w3.org/Style/' already exists.
Child anchor 26eb88 of parent 25c0c0 with name `new' already exists.
Linking anchor 2832d0 to anchor 26eb88
HTML:begin_element: adding style to stack - Normal
SGML: Start <SPAN>
STYLE:class:.HTML.BODY.A.SPAN
Child anchor 26eba8 of parent 25c0c0 with name `s1' already exists.
Entered HTAnchor_findChildAndLink
HTML:begin_element: adding style to stack - Normal
SGML: End </SPAN>
HTML:end_element: Popped style off stack - Normal
STYLE:class:.HTML.BODY.A (trimmed .SPAN)
STYLE:end_element: ending non-EMPTY style
SGML: End </A>
HTML:end_element: Popped style off stack - Normal
STYLE:class:.HTML.BODY (trimmed .A)
STYLE:end_element: ending non-EMPTY style
SGML: Start <P>
STYLE:class:.HTML.BODY.P
GridText: split_line called
GridText: split_line called
Child anchor 26ebc8 of parent 25c0c0 with name `p2' already exists.
Entered HTAnchor_findChildAndLink
STYLE:begin_element:ending EMPTY element style
STYLE:class:.HTML.BODY (trimmed .P)
SGML: Start <A>
STYLE:class:.HTML.BODY.A
new Anchor 2832b0 named `' is child of 25c0c0
Entered HTAnchor_findChildAndLink
HTParse: aName:http://www.w3.org/Style/#what   
relatedName:http://www.w3.org/Style/
1
HTParse: result:http://www.w3.org/Style/#what
HTParse: aName:http://www.w3.org/Style/#what   relatedName:
HTParse: result:what
Entered HTAnchor_findAddress
HTParse: aName:http://www.w3.org/Style/#what   relatedName:
1
HTParse: result:http://www.w3.org/Style/
HTParse: aName:http://www.w3.org/Style/   relatedName:
HTParse: result:
Entered HTAnchor_findAddress
Anchor 25c0c0 with address `http://www.w3.org/Style/' already exists.
Child anchor 26ec08 of parent 25c0c0 with name `what' already exists.
Linking anchor 2832b0 to anchor 26ec08
HTML:begin_element: adding style to stack - Normal
SGML: Start <SPAN>
STYLE:class:.HTML.BODY.A.SPAN
Child anchor 26ec28 of parent 25c0c0 with name `s2' already exists.
Entered HTAnchor_findChildAndLink
HTML:begin_element: adding style to stack - Normal
SGML: End </SPAN>
HTML:end_element: Popped style off stack - Normal
STYLE:class:.HTML.BODY.A (trimmed .SPAN)
STYLE:end_element: ending non-EMPTY style
SGML: End </A>
HTML:end_element: Popped style off stack - Normal
STYLE:class:.HTML.BODY (trimmed .A)
STYLE:end_element: ending non-EMPTY style

and so on.  First I thought that lynx doesn't like the SPAN inside anchor,
and ends the anchor before the SPAN,  but its not what seems to be happening. 

lahvak
-- 
Jan Hlav\'{a}\v{c}ek
address@hidden  (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]