Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 06:55:06 PM

Pages: [1]   Go Down
  Print  
Author Topic: CSS help for selected button  (Read 1696 times)
begeiste
Galactic Royalty
*****
Offline Offline

Posts: 371


WWW
« on: July 22, 2009, 04:13:37 PM »

Hi
Can someone to help me to figure out the font color issue since the javascript didn't make the way I wanted. Not sure how to make these fonts in white after they got clicked? The background is dark on the selected button, but the font color is dark too. I tried to make #ffffff for the text, but the text still shows black.
http://ruilifashions.com/25christmasday/JSCSSshowListforButtonSelected/CSSstateButton/test.html

Much appreciated it!

Beckmann
Logged
lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #1 on: July 23, 2009, 08:53:54 AM »

try this in your css:
Code:
.showlist a:link,a:visited{font-family:Arial, Helvetica, sans-serif;font-size:11px; font-weight:bold; font-color:#fff;line-height:22px; list-style:none;text-decoration:none;margin-left:50px;text-align:center;padding:10px;}
Logged
begeiste
Galactic Royalty
*****
Offline Offline

Posts: 371


WWW
« Reply #2 on: July 24, 2009, 05:07:52 PM »

It works excellently. Much appreciated for your help!

Beckmann
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: