Computer Science Canada

css -> links, and firefox and bordercolor

Author:  jonos [ Wed Apr 07, 2004 11:19 am ]
Post subject:  css -> links, and firefox and bordercolor

can anyone give me the code for changing the text attributes for links and removing the underline and all that stuff, because i can't find it in dreamweaver, or just giving me insturctions to find it in dreamweaver would also be good.

secondly, does firefox not support bordercolor="" because in ie it is changing the border colour and dropping the shadows on it, but in firefox its not? any ideas on this.

tjhanks

Author:  Catalyst [ Wed Apr 07, 2004 11:54 am ]
Post subject: 

link styles

code:

a
{
   text-decoration:none;/* no underline*/

}
a:visited /* Visited style */
{}
a:hover /* Hover over style */
{}


removing borders(put in the appropriate attribute)

code:

   border:0;


Author:  jonos [ Wed Apr 07, 2004 2:45 pm ]
Post subject: 

thanks for the help.

but does anyone know if firefox doesn't support the bordercolor="" thinger for a regular table.

Author:  jonos [ Wed Apr 07, 2004 2:52 pm ]
Post subject: 

am i doing this wrong:

code:

.links {
        text-decoration:none;/* no underline*/
        visited:009900; /* Visited style */
        hover:009900; /* Hover over style */
}


i just started trying this and im not sure if im calling it right, i have a:
<link href="main_content.css" rel="stylesheet" type="text/css">
at the top and im calling it by:
code:

<a href="" class="links"> (its called .links in my stylesheet).


should i be doing this a different way, or should my link attributes be in the same class as my text attributes.

Author:  Catalyst [ Wed Apr 07, 2004 3:04 pm ]
Post subject: 

yes

code:

<a href="#" class="links" >Whatever</a>




and css
code:



a.links {
   text-decoration:none;/* no underline*/
}
a.links:visited
{
   color:#009900; /* Text Color */

}
a.links:hover
{
   color:#0000FF; 
}


code:

Author:  jonos [ Wed Apr 07, 2004 6:12 pm ]
Post subject: 

thanks a lot, it works now.


: