HighDots Forums  

ie reading anchors

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss ie reading anchors in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Woahaw webforumsuser@macromedia.com
 
Posts: n/a

Default ie reading anchors - 07-18-2003 , 12:00 PM






Internet Explorer is not making the connections between anchors that are below the links on the page. When I set links that are to move to anchors above the links, ie reads the code perfectly. I have tried renaming the anchor names. I have looked at the code to see any difference between those that work and those that don't and can't find any differences.

Ironically, Netscape is reading all of the links to the anchors perfectly. This confuses me even more.

The problem Web page is at http://www.englishjournal.colostate.edu/columnblurbs.htm

please help

woahaw
http://www.englishjournal.colostate.edu/columnblurbs.htm



Reply With Quote
  #2  
Old   
Alan Ames
 
Posts: n/a

Default Re: ie reading anchors - 07-18-2003 , 12:16 PM






suggestion to try-
do a find for a name= to step down thru the named anchors in code view.

Insert a non-breaking space in the anchor.

<td><a name="voices" id="voices">&nbsp;</a></td>

that will give both the anchor and the td some contents, so that it will
exist on the page perhaps, and can be linked to.

Quote:
Internet Explorer is not making the connections between anchors that are below
the links on the page. When I set links that are to move to anchors above the
links, ie reads the code perfectly. I have tried renaming the anchor names.
I have looked at the code to see any difference between those that work and
those that don't and can't find any differences.

Ironically, Netscape is reading all of the links to the anchors perfectly.
This confuses me even more.

The problem Web page is at
http://www.englishjournal.colostate.edu/columnblurbs.htm

please help

woahaw
http://www.englishjournal.colostate.edu/columnblurbs.htm



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer



Reply With Quote
  #3  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: ie reading anchors - 07-18-2003 , 12:28 PM



"Woahaw" webforumsuser (AT) macromedia (DOT) com wrote:

Quote:
Internet Explorer is not making the connections between anchors that are below the links on the page. When I set links that are to move to anchors above the links, ie reads the code perfectly. I have tried renaming the anchor names. I have looked at the code to see any difference between those that work and those that don't and can't find any differences.

Ironically, Netscape is reading all of the links to the anchors perfectly. This confuses me even more.

The problem Web page is at http://www.englishjournal.colostate.edu/columnblurbs.htm

please help

woahaw
http://www.englishjournal.colostate.edu/columnblurbs.htm



They're all working like charm in IE on Mac.
Just an idea: When testing, are you previewing through DW and thereby
actually viewing a TMP file, and not the actual page?
Or are you testing the actual page over and over again?

The reason for asking:

If you're previewing through DW, you'll get a new file to view every
time. If you're not, but looking at the actual page, you *might* have a
cache issue: IE is pulling up an old, cached page which includes the
erroneous anchors.

If the latter is correct: empty browser cache and even reboot browser.

--
Dan Vendel - *GOF*
http://www.vendel.info
Contact me directly by clicking here:
http://contact.vendel.info
Formmail tutorial:
http://www.vendel.info/tut/formmail.html
Nested table demonstration:
http://www.vendel.info/tabletut/



Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: ie reading anchors - 07-18-2003 , 12:50 PM



Woahaw webforumsuser wrote:

Quote:
Internet Explorer is not making the connections between anchors that
are below the links on the page.
Version? OS?

IE 5 (Win2k) is doing fine.

Quote:
When I set links that are to move to
anchors above the links, ie reads the code perfectly.
Maybe this is the problem:

"User agents should be able to find anchors created by
empty A elements, but some fail to do so. [...]"

12.2 The A element
http://www.w3.org/TR/html4/struct/links.html#h-12.2
(the note at the end of the section)

I would also recommend to put the anchors outside of the tables.
Instead of

<table width="750" border="0" cellspacing="3" cellpadding="3">
<tr>
<td><a name="innovative" id="innovative"></a></td>
</tr>
<tr>
<td><font ...>Bold Books for Innovative
Teaching</font></td>
</tr>
<!-- content -->


write this (at least it's better markup, a heading should be
marked up as a heading and not only as big fat text):

<h2><a name="innovative" id="innovative">Bold Books for Innovative</a></h2>
<!-- content -->

Then style the headings with CSS:
h2 {
color: #306;
font-size: ...;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

Finally there are two validation errors left:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.englishjournal.colostat e.edu%2Fcolumnblurbs.htm

HTH
Micha



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.