Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Underlining with Iframe 1

Status
Not open for further replies.

klear

Technical User
Mar 10, 2003
16
US
Hello I was wondering if someone could help me. I recently started using iframes to make changes on one page instead of 30 and i notice that whatever i click on gets underlined. Is there a way to stop that so it looks "clean" Thanks in advance!
 
That is probably due to your css command specifying something like this:
Code:
a:link {
  text-decoration: none;
}
which means that links are not going to be underlined. However, when links are visited, the :link pseudo class no longer applies and the default behaviour of underlined links kicks in again. Adding something like:
Code:
a:visited {
  text-decoration: none;
}
should stop it. However, it is hard to say if that is it without seeing the actual problem code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top