Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

<a name="#abc" /> tag causing IE8 display issue

Featured Replies

Hi all,

 

This is my first post on here so a big shout out to everyone :)

 

I have an issue on a site whereby using an anchor tag: <a name="#form" /> is causing a display issue in IE8.

 

This is the page: click

 

If you look at the footer you'll see it has been 'doubled up'

This only happens in IE8. All other browsers seem OK.

 

All the CSS/HTML validates.

 

If I replace the <a name="#form" /> with <a name="#form"></a> then the problem in IE8 goes away. You can see this here

 

Obviously I could just use the closing </a> tag and leave it at that, but I'd rather try to understand the issue since it shouldn't really be happening - at least I think it shouldn't!

 

Any thought gladly appreciated.

Jay

I'm not sure if this will fix it, but you're not allowed to use # in <a name> attribute.

You only use a # to jump to an id or <a name> using <a href> attribute, i.e.:

 

<a name="form" />
<a href="#form">Link to jump to the above</a>

  • Author

Cheers Andy - that doesn't fix it though. I've updated the page (first link in my 1st post) but the issue remains. Hmm...

What is the <a name="form"/> for?

 

#footContainer #foot UL#footMenu li{disply:inline;} 

should fix in ie7

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.