Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

link outline

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can one turn off the link outline (the dashed line that outlines the link placed by the browser when one clicks on the link)?
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this from MD to the HTML/javascript forum.
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a:active {text-decoration:none;}
should do it in most browsers.
HTH,
- Manish
 
Fraser Baker
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a:active {text-decoration:none} does not affect the dotted link outline. This outline is not present in Netscape untill after the linked item is displayed. In Explorer, it immediately is displayed, messing up the visual of my mousedown button. Any other suggestions?
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are right!
I don't know how you can get rid of it, even border:none; doesn't work. I am curious to know if you've found a soluton.
rgds,
- Manish
 
Fraser Baker
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still don't know how to eliminate the dotted border around a link. But, I am experiencing another problem as follows.
The following script works well in Explorer, but the text does not change in Netscape. Any suggestions?
The styles are:
#news_text {color: black; font-family: arial; font-size: 10pt; position: absolute; text-align: left; visibility: visible; width:340; padding-left:20px }
#calendar_text{color:black; font-family:arial; font-size:10pt; position: absolute; text-align:left; visibility:hidden; width:340; padding-left:20px }
The DHTML is
on_Mouse_Over="
news_text.style.visibility='hidden';
calendar_text.style.visibility='visible';"

ignore undescores
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's different for NN 4.x and Netscape 6.x. Have a look at - http://www.technofundo.com/tech/js/showhide.html
and see if it is of any help.
HTH,
- Manish
 
Quick! Before anybody notices! Cover it up with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic