Forums

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

Home Forums CSS [Solved] error with the dotted line Reply To: [Solved] error with the dotted line

#208425
Alen
Participant

I’ve modified your code that was in your original post:

button {
  border: none;
  background-color: transparent;
}

a {}

a:focus {
  outline: none;
  /* IE7 Support */
  noFocusLine: expression(this.onFocus=this.blur());
}

We need more information about your problem in order to help you. There could be other issues at play that we’re not seeing.

Do you have a live example for us? Can you provide all of the code HTML / CSS? If you’re working locally, go to view source in your browser and find and paste relevant code.

If the only thing you’re looking to do is, remove the outline when link is in focus, then all you need is:

a:focus {
  outline: none;
  /* IE7 Support */
  noFocusLine: expression(this.onFocus=this.blur());
}

But again there could be other selectors that are cascading styles and creating problems. We can’t answer without you giving us more information.

Hope that helps, Alen