• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

Anchor Tag killing my CSS

I have an  Anchor Tag  which move the user further down the screen. However when this happens I loose all my css.

is it because my url has been changed from audit to audit.aspx/#registerd
1 Solution
Could you post the url of the example? I'm thinking it's your markup at fault rather than audit.aspx/#registerd it should be audit.aspx#registerd - ie you've got a slash in there that shouldn't be there?
Mr_ShawAuthor Commented:
I am sorry that I can not post the URL  as it is an internal web site.

You were right about the slash.

My problem now is that the page is not scrolling down to the anchor.

my anchor is written as

<a href="#records"></a>

I have also written out my link in full

          <a href="http://localhost:1833/bluehaze/portal/audit/audit.aspx#records">

I will be ugrading from local host to a proper domain when everything works!
"I will be ugrading from local host to a proper domain when everything works!"

When you do that, it will work.  IE and direct links to inpage anchors doesn't work that well all the time, especially when you are on a local host and not the internet.  Put the page up on the internet and see !!!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now