Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Cell background color for visited link
Old 10-06-2006, 10:47 PM Cell background color for visited link
Novice Talker

Posts: 11
Trades: 0
The following css changes the color of an a:visited link text located into a tablecell.

I would like to change the cell background itself instead of the text background.
Is it possible?

Thanks for helping.

---------

<style>
.tablecell a:link,a:active {
color: #595984; /* Table cell link text color */
font-size:2.1em;
font-weight:bold;
}

.tablecell a:visited {
color: yellow; /* Table cell link text color */
font-size:2.1em;
font-weight:bold;
background-color:gray;
}

.tablecell a:hover {
color: red; /* Color to change table cell link text to on mouse over */
font-size:2.1em;
font-weight:bold;
}
</style>
contiw is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-06-2006, 11:56 PM Re: Cell background color for visited link
Webmaster Talker

Posts: 626
Trades: 0
I don't think that it is possible to do that with CSS.

You could do it with javascript (I would assume)
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 10-07-2006, 04:38 AM Re: Cell background color for visited link
beta's Avatar
Extreme Talker

Posts: 169
Trades: 0
Depending on what the cell is used for you could allways adjust the padding of the link with the cell, giving more or less the appearance that is was the 'cell' that was changing colour... but it really depends how you have the table.
beta is offline
Reply With Quote
View Public Profile
 
Old 10-07-2006, 04:46 AM Re: Cell background color for visited link
jito's Avatar
MY LIFE IS 'i' LIFE

Posts: 565
Name: surajit ray
Location: inside the heart of my friends
Trades: 0
is that what u need?

Code:
td :visited {
text-decoration:none; 
display: block;
color:#ffffff; 
background-color:#000000;
}
__________________
I am not smart, that's why i don't act smart


Please login or register to view this content. Registration is FREE
jito is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Cell background color for visited link
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13846 seconds with 12 queries