Total members 11890 |It is currently Fri Apr 19, 2024 3:47 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Different statuses for link by CSS
Code:
<html>
    <
head>
        <
style type="text/css">
            
a:link {
                
background#FF4452;
                
color#0043BB;
            
}
            
a:visited {
                
background#54F032;   
                
color#FF3455;
            
}
            
a:hover {
                
background#000000;
                
color#FFFFFF;
            
}
            
a:active {
                
background#540BF0;
                
color#22FF43;
            
}
        </
style>
    </
head>
    <
body>
        <
a href='http://www.google.com'>Google</a> | 
        <
a href='http://www.codemiles.com'>codemiles</a> | 
        <
a href='http://www.facebook.com'>facebook</a> | 
        <
a href='http://www.yahoo.com'>yahoo</a>
    </
body>
</
html>
 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Different statuses for link by CSS
 add link in asp.net     -  
 Link send     -  
 inline style for link tag.     -  
 set MIME type in link     -  
 Open a link in a new window?     -  
 White space link example     -  
 Underline for visited link     -  
 Changing link color     -  
 Send email link example.     -  
 get current page link     -  



Topic Tags

HTML Link, CSS Link
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com