Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blue lines under links on my site even though I've disabled all related CSS? [closed]

Click here to see the issue

I've tried disabled text-decoration, outlines, borders, and everything else I can think of. Using the inspect tool I cannot find anything that would cause these blue lines.

This issue does not affect Firefox.

The text with the blue underline is a span inside of an anchor tag.

like image 801
Brandon Wamboldt Avatar asked Nov 25 '11 11:11

Brandon Wamboldt


6 Answers

You seem to have this problem: http://www.google.com/support/forum/p/Chrome/thread?tid=44100701f93d5951&hl=en

When you press F12 and inspect the elements affected, you should notice this:

a:-webkit-any-link{
...
text-decoration: underline;
}

So maybe adding a stylesheet like this:

a:-webkit-any-link{
text-decoration:none !important;
}

UPDATE : I reproduced it and the above stylesheet, added to your main.css file worked. No need of two ":", it was a typo probably.

Anyway it solved the problem on my PC, try to add it to your main.css and it should work. Thanks!

like image 73
Pavel Donchev Avatar answered Oct 19 '22 13:10

Pavel Donchev


Chirs Felstead solution resolve your issue with the first link you shared. (http://imgur.com/81MLR)

For removing the blue underline here (http://akoostix.titanlabs.ca/?service=customers#home_page_news_section)

introduce text-decoration to the below line

#front_page_services #service_operators {
  text-decoration: none;
}

in line no. 51 on front-page-services.css

like image 44
Logesh Paul Avatar answered Oct 19 '22 12:10

Logesh Paul


The standard way is:

a {
    text-decoration: none;
}

Please explain more about the span inside an anchor as that sounds backwards. should be anchor inside span.

like image 37
Michael Durrant Avatar answered Oct 19 '22 13:10

Michael Durrant


Define style like this:

#front_page_services a {
    text-decoration: none;
}
like image 38
Teemu Ikonen Avatar answered Oct 19 '22 13:10

Teemu Ikonen


Use the text-decoration attribute on you anchor element, not span.

<a id="service_managers" href="http://akoostix.titanlabs.ca/services/managers" style="
text-decoration: none">

Tested on your page and it works.

like image 3
Kamyar Avatar answered Oct 19 '22 13:10

Kamyar


In your global.css is the entry

a:hover { 
    color: #4E76C9; 
    text-decoration: underline; /* Add this */ 
}
like image 2
Chris Felstead Avatar answered Oct 19 '22 12:10

Chris Felstead