Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS moving an anchor tag up when we i hover it . Reply To: moving an anchor tag up when we i hover it .

#147626
noahgelman
Participant

Remove your current styles that are trying to move the link and add:

a {
  position:relative; /* This will let us change where the link is displayed visually without affecting the rest of the dom */
}

a:hover {
  top:-2px; /* This value is the px length and direction you wish to move the link */
}