Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Links css underline

I have the following style for my footers in my css file:

#footer { 
    text-align: center;
    font-size: .7em;
    color:#000000;
}

This is the html for the footer part:

<div id="footer">
   <br> //google ad
   <br>
   <br>
   <A HREF="http://www.site1.com">Blog</A>&nbsp;&nbsp;&nbsp;<A     
   HREF="http://site1/rss.xml">RSS</A>&nbsp;&nbsp;&nbsp;<A 
   HREF="http://www.mexautos.com">Autos Usados</A>&nbsp;&nbsp;&nbsp;<A 
   HREF="http://www.site2">Videos Chistosos</A>&nbsp;&nbsp;&nbsp;<A 
   HREF="http:/s.blogspot.com">Fotos de Chavas</A><br>
   Derechos Reservados &copy; 2008-<?=date('Y')?> address<br>
</div>

But for some reason some of the links show underlined.

Any ideas how I can make it so the links do not appear underlined?

Thx

like image 644
jcslzr Avatar asked Nov 28 '22 01:11

jcslzr


2 Answers

you can try

#footer a { text-decoration: none }

that means all <a> tags within the element with id footer will have no underline.

like image 63
nonopolarity Avatar answered Nov 29 '22 14:11

nonopolarity


try:

#footer a{ 
   text-decoration: none;
}
like image 33
Kevin Dungs Avatar answered Nov 29 '22 16:11

Kevin Dungs