WEBDEVCAFE Archives

WEBDEVCAFE Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave WEBDEVCAFE
Reply | Post New Message
Search Archives


Subject: Re: IE 7 Problem
From: Jared Wein <[log in to unmask]>
Reply-To:Jared Wein <[log in to unmask]>
Date:Fri, 20 Jun 2008 17:17:04 -0400
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (78 lines)


If you are looking for a semantic approach, and you want the user to be 
able to jump to a certain place in your page, there is probably the 
setup already in place without the anchor tags.

Consider this example:

<ul>
<li><a href="home.html">home</a></li>
<li><a href="about.html">about</a></li>
</ul>

Instead of placing an anchor tag above the unordered list, you can place 
an id on the list, as such:

<ul id="navigation">
<li><a href="home.html">home</a></li>
<li><a href="about.html">about</a></li>
</ul>

Then you get the exact same behavior as the anchor tag and it is much 
more semantic.

- Jared

Vineet Bansal wrote:
> I encountered a similar problem a few weeks ago...I think IE7 does not like
> empty anchor tags. You might want to include non-breaking space between the
> anchor tags or if that's not acceptable, even an empty div would do. So
> replace:
> 
> <a name="1"></a>
> with
> <a name="1">&nbsp;</a>
> or
> <a name="1"><div></div></a>
> 
> Vineet
> CLEAR
> 
> 
> On Fri, Jun 20, 2008 at 4:14 PM, Lee Duynslager <[log in to unmask]> wrote:
> 
>>  My users in Communications can't seem to get anchors to work with IE 7.
>> Anybody else out there having these problems?
>>
>>  Forwarded message:
>>
>>
>> I host a website that includes newsletters with table of contents at the
>> top that link via anchors to articles lower down on the page. We have
>> somewhat random problems with these anchors working in IE 7 (Firefox and
>> older IE are no problem). The anchors are being inserted using Dreamweaver
>> 8. We tried to compare the code to identify differences and aren't coming up
>> with anything. Any ideas? Here's an example:
>> http://www.ipm.msu.edu/cat08land/l06-13-08.htm
>>
>> Thanks. - Joy Landis
>>
>>
>>
>>
>>
>> Look like standard anchors to me and they work in IE6 and Firefox.
>>
>>
>>
>>
>>
>> LD
>>
> 


-- 
Jared Wein
Michigan State University
Computer Science & Engineering
6 South Hubbard Hall Resident Mentor

Back to: Top of Message | Previous Page | Main WEBDEVCAFE Page

Permalink



LIST.MSU.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager