PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Fri Apr 07, 2006 6:19 pm Reply with quote Back to top

Hey guys,

I'm decent with HTML but can't figure this out - how can I override the color for links specified in my style sheet?

Only registered users can see links on this board!
Get registered or login to the forums!
. I basically want to make the links in the dark blue box on the right white instead of blue, as they don't show up well in blue.

Thanks!

Nash
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 07, 2006 6:48 pm Reply with quote Back to top

well thats easy,dive into your stylesheet:
Here >>>themes/ECBB/style/style.css

And the dirty blue one is : 0033FF
So change all 4 to whatever you want.

A:link {BACKGROUND: none; COLOR: #0033FF; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:active {BACKGROUND: none; COLOR: #0033FF; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:visited {BACKGROUND: none; COLOR: #0033FF; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:hover {BACKGROUND: none; COLOR: #0033FF; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
View user's profile Send private message
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Sun Apr 09, 2006 9:34 pm Reply with quote Back to top

Hey persona_non_grata,

Thanks - the problem I have is that I want most links to be the blue color, but for the links that show up in this particular blocks, I want a white color. Unfortunately I tried overriding this in the link tags that I want to be white but it didn't seem to do it...

Thoughts?

--- Nash
View user's profile Send private message
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Sun Apr 09, 2006 10:35 pm Reply with quote Back to top

This is just a sample from one of my pages, you can add another set of link colors say to a menu (sidebar) whatever like this, just add your font class to them. this may work for you because its white. Smile

Code:

a.menu:visited { text-decoration: none;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.menu:active { text-decoration: none;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.menu:hover { text-decoration: none;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.light:link { color: white;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.light:visited { color: white;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.light:active { color: white;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; text-decoration: none }
a.light:hover { text-decoration: none;  font-family: arial, helvetica, sans-serif; font-weight: normal; font-size: 10px; color: #FF0000 }
View user's profile Send private message Visit poster's website AIM Address
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Sun Apr 09, 2006 10:51 pm Reply with quote Back to top

so then in my < A > tag I would have <A ClASS="MENU"> ? Thanks!
View user's profile Send private message
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Sun Apr 09, 2006 10:58 pm Reply with quote Back to top

Smile fiddle with it you'll get it
View user's profile Send private message Visit poster's website AIM Address
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Mon Apr 10, 2006 6:45 am Reply with quote Back to top

oh, I've fiddled haha. Even tried creating separate classes when I was first dealing with this like a year ago. Problem with CSS for me is that I learned it once and then didn't have to do it for another year. Pretty much only needed to adjust it whenever I redesigned haha.
View user's profile Send private message
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Mon Apr 10, 2006 6:54 am Reply with quote Back to top

sweet! seems to work!
View user's profile Send private message
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Mon Apr 10, 2006 3:25 pm Reply with quote Back to top

Smile
View user's profile Send private message Visit poster's website AIM Address
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 86

PostPosted: Mon Apr 10, 2006 3:26 pm Reply with quote Back to top

thanks
View user's profile Send private message
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Mon Apr 10, 2006 3:31 pm Reply with quote Back to top

anytime, glad I could help..
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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 vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum