navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Link Attributes

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> OutFront Discoveries >> Link Attributes
Page: [1]
 
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
Link Attributes - 3/30/2002 19:58:59   
This is a subject that has been brought up many times but I'm going to add a fourth property which most people don't mention and its called the a:active property. See the example below from my current style sheet...

a:link{
text-decoration:underline;
color:#3366cc;
background:transparent;
}

a:visited{
text-decoration:underline;
color:#808080;
background:transparent;
}

a:hover{
text-decoration:none;
color:#6699ff;
background:transparent;
}

a:active{
text-decoration:none;
color:#ff0000;
background:transparent;

The a:active property is an on click event that is supported by IE and later versions of Netscape (6.0 and above). As a matter of fact, NS 6 is now supporting all four properties above.

Want to add a background color to your links? Change the

background:transparent;
to
background:#000000; (specify hex value)

You can even choose to have a different background color for each of the four properties. Text-decoration and color I would assume are self explanatory.

Neat little features that help add a little pizzazz to your links!

SEO Consultants Directory

Edited by - pageoneresults on 03/30/2002 20:01:16
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
RE: Link Attributes - 4/2/2002 10:53:15   
I should add to this that you must list the attributes in the order above. If you don't, then all or some of them will not work. Here is a snippet from the W3C...

Note that the

a:hover

must be placed after the

a:link

and

a:visited

rules, since otherwise the cascading rules will hide the 'color' property of the

a:hover

rule. Similarly, because A:active is placed after A:hover, the active color (lime) will apply when the user both activates and hovers over the A element.

SEO Consultants Directory
Search Engine Optimization Tips

Edited by - pageoneresults on 04/02/2002 10:56:44

(in reply to pageoneresults)
Page:   [1]

All Forums >> Community >> OutFront Discoveries >> Link Attributes
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts