Welcome visitor
* Login
* Register
It is currently May 25th, 2019, 9:13 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  two different links color
PostPosted: May 28th, 2009, 7:10 am 
User avatar

Posts: 70
wz up ppl?

i have a question about links and colors. can i have 2 groups of links and each one have their own a:link, a:active, etc... styles and colors?


Top
 Profile  
 
  Re: two different links color
PostPosted: May 28th, 2009, 7:19 am 
User avatar

Posts: 56
http://www.scriptingok.com/tutorial/CSS-style-sheets-3
<head>
    <title></title>
    <style type="text/css">
    a.one:link{color: #f00}
    a.one:visited{color: #f00}
    a.one:hover{color: #f00}
    a.one:active{color: #f00}
    a.two:link{color: #0f0}
    a.two:visited{color: #0f0}
    a.two:hover{color: #0f0}
    a.two:active{color: #0f0}
    </style>
</head>

<body>
<a href="http://www.scriptingok.com" class="one">scriptingok.com</a>
<a href="http://www.scriptingok.com" class="two">scriptingok.com</a>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron