Click here to get back home

Strange IE bug... Help, please.

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Strange IE bug... Help, please. Dave Anderson 06-10-2005
Posted by Dave Anderson on June 10, 2005, 2:52 pm
Please log in for more thread options


I've done a bunch of googling and searched all the references I've got
without finding anything that seems relevant to this issue; I'd
appreciate any useful pointers or constructive comments.

I've got a page at <http://www.nesfa.org/rules/code-s1.html> which makes
extensive use of anchors within the page. Every other browser I've
tried deals with them just fine, but (at least recent versions of) IE
acts as though they didn't exist -- selecting a link pointing to one of
them sends you off to the top of the page rather than to the correct place.

Using the tools at www.htmlhelp.org, the HTML validates and the CSS
checks out with only a couple of minor errors (warnings about setting
one color without setting all of them). In the process of exploring
this problem, I noticed that my fragment-IDs are technically illegal
(they should be restricted to [A-Za-z][-_:.A-Za-z0-9]* but many of mine
start with a digit or include parentheses) -- I'll fix this as soon as I
get a chance, but testing by correcting one of them and trying it in IE
still shows the problem.

These anchors are all of the form <li><p><a name="xxx" class=yyy>xxx</a>
... </p></li>. A fair amount of thrashing about has revealed that one
way to get IE to behave is to change this to <li><p><a name="xxx"><span
class=yyy>xxx</span></a> ... </p></li> -- but that's rather ugly, and in
any case I'd rather understand more about what's happening (if possible).

The first thing on the page (after the headers) is a list of several
dozen links to sections within the page; the particular one I've tested
with is "1.37 NESFA Press Guests at Boskone" (I've no reason to expect
that any of the others would behave differently).

Thanks in advance for any light you can shed,

        Dave


Posted by Jim Moe on June 10, 2005, 1:23 pm
Please log in for more thread options


Dave Anderson wrote:
> I've done a bunch of googling and searched all the references I've got
> without finding anything that seems relevant to this issue; I'd
> appreciate any useful pointers or constructive comments.
>
> I've got a page at <http://www.nesfa.org/rules/code-s1.html> which makes
> extensive use of anchors within the page. Every other browser I've
> tried deals with them just fine, but (at least recent versions of) IE
> acts as though they didn't exist -- selecting a link pointing to one of
> them sends you off to the top of the page rather than to the correct place.
>
Remove the class="id1" in all of the <a name=""> elements. IE
apparently feels quite strongly that styling a <a name=""> is a Bad Thing.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Posted by Dave Anderson on June 12, 2005, 11:40 am
Please log in for more thread options


Jim Moe wrote:
> Dave Anderson wrote:
>
>> I've got a page at <http://www.nesfa.org/rules/code-s1.html> which
>> makes extensive use of anchors within the page. Every other browser
>> I've tried deals with them just fine, but (at least recent versions
>> of) IE acts as though they didn't exist -- selecting a link pointing
>> to one of them sends you off to the top of the page rather than to the
>> correct place.
>>
> Remove the class="id1" in all of the <a name=""> elements. IE
> apparently feels quite strongly that styling a <a name=""> is a Bad Thing.

That's *UGLY*! Unfortunately, this does need to work in IE (as well as
in real browsers).

Thanks for the info.

        Dave


Posted by Dave Anderson on June 13, 2005, 4:13 pm
Please log in for more thread options


Dave Anderson wrote:
> Jim Moe wrote:
>
>> Remove the class="id1" in all of the <a name=""> elements. IE
>> apparently feels quite strongly that styling a <a name=""> is a Bad
>> Thing.
>
> That's *UGLY*! Unfortunately, this does need to work in IE (as well as
> in real browsers).
>
> Thanks for the info.

OBTW, is there a good listing of IE bugs out there somewhere? I looked,
but didn't find one -- and I'd rather be able to look it up myself
instead of having to bother the list next time.

Thanks,

        Dave



Posted by Andy Dingley on June 14, 2005, 1:10 am
Please log in for more thread options


On Mon, 13 Jun 2005 15:13:30 -0400, Dave Anderson

>OBTW, is there a good listing of IE bugs out there somewhere?

The internet ain't big enough...



Similar ThreadsPosted
Strange! May 15, 2006, 10:47 pm
Strange rendering? December 10, 2004, 10:54 am
help with strange problem February 27, 2006, 7:01 pm
Strange form problem October 21, 2004, 9:09 pm
Strange form problem October 21, 2004, 10:20 pm
Very strange error effect with March 13, 2005, 8:50 pm
strange behavior with IE and margin... June 12, 2006, 2:03 am
strange DOCTYPE problem.. March 16, 2007, 9:40 am
Re: My Very Strange Webhost, SBI! -- Opinions, Please May 12, 2008, 10:41 pm
My Website - strange behaviour in Firefox December 9, 2005, 1:36 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap