Jump to content

Recommended Posts

Posted

Hello,

 

I am an amateur beginner just trying to get an informational site together but, for some reason, I must have changed something because the links in the horizontal menubar jump when you click on them. All other links are fine. This was never to be the case. I cannot find out what changed and set this general post as I don't know if it is in the html, css or js.

 

the site is: http://www.environmentalhistory.info/

 

I hope it is an embarrassingly simple mistake with a simple solution.

 

Thanks for your help.

Posted

They jump on active (as you click).

 

Go to your css and remove the marked-out line:

 

@charset "UTF-8";

a:link {

font-style: normal;

font-weight: bold;

color: #960;

text-decoration: none;

}

 

a:hover {

text-decoration: underline;

color: #6644ff;

}

 

a:active {

text-align: right;

color: #960;

}

 

a:visited {

color: #960;

}

Posted

Thanks!!!

 

Easy peasy (and obvious)...thought it might be.

 

They jump on active (as you click).

 

Go to your css and remove the marked-out line:

 

@charset "UTF-8";

a:link {

font-style: normal;

font-weight: bold;

color: #960;

text-decoration: none;

}

 

a:hover {

text-decoration: underline;

color: #6644ff;

}

 

a:active {

text-align: right;

color: #960;

}

 

a:visited {

color: #960;

}

Posted

I didn't pay attention to this before, but just noticed it - your links are out of order. It may not affect all browsers, but be sure to list them like this:

 

link

visited

focus

hover

active

 

More detail here

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...