I've checked all my css files (I even ran a search for the word "underline") and as far as I can tell there is no reason that my links should be underlining- but they are! I have firebug installed and I still can't pinpoint why these thinks are underlining. The site is: www.customslipcovers.ca . We are just finishing the aesthetics side of the site and we want our links to bold on over or underline on hover but not be underlined by default. What am I missing?

Comments

mjohnq3’s picture

It looks like you're using the Marinelli theme. In links.css you'll find:

a,
a:visited,
li a.active{
  color: #156aa3;
  text-decoration: underline;
}

All the links are styled as underlined. I'm not sure if this is by design or a mistake. At any rate you can easily change it.

F0rumus3r’s picture

Thanks for the help but that's not it. Like I said in the original post the word "underline" does not appear in any of my css files - I ran a dreamweaver search on all the files.

problue solutions’s picture

I presume you have fixed it? None of your links are underlined now when I visit your site.

F0rumus3r’s picture

I solved my problem but I still don't understand. The code before was:


a{
color: #1c8cb5;
	}
	
#footer a{
	color:#1c8cb5;
	}
	
#primary .node .content a{
font-weight: bold;
	}
	
#primary .node .content h2.nodeTitle a{
font-weight: bold;
	}

And the code after:



a{
color: #1c8cb5;
text-decoration:none;
	}
	
#footer a{
	color:#1c8cb5;
	}
	
#primary .node .content a{
font-weight: bold;
text-decoration:none;
	}
	
#primary .node .content h2.nodeTitle a{
font-weight: bold;
text-decoration:none;
	}

All I did was add the text-decoration class. However, WHY would the links automatically underline without these in place? Is that a browser thing- on all of them?

problue solutions’s picture

Some if not all browsers will default to underline if you don't specify a style.

F0rumus3r’s picture

Thanks!