Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 css -> links, and firefox and bordercolor
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jonos




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Wed Apr 07, 2004 11:54 am   Post subject: (No 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;

jonos




PostPosted: Wed Apr 07, 2004 2:45 pm   Post subject: (No subject)

thanks for the help.

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




PostPosted: Wed Apr 07, 2004 2:52 pm   Post subject: (No 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.
Catalyst




PostPosted: Wed Apr 07, 2004 3:04 pm   Post subject: (No 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:
jonos




PostPosted: Wed Apr 07, 2004 6:12 pm   Post subject: (No subject)

thanks a lot, it works now.
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: