Welcome to Geeklog, Anonymous Sunday, February 16 2025 @ 07:04 am EST
Geeklog Forums
Help with text color in static page
Status: offline
Rick78
Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Hello,
I have a static page used for my center main front page. No matter what I do, I cannot get the text color to change on text I am using for a link. I have tried to change the color with COLOR="#861303" in the line. It still keeps the CSS main text color.
I have tried to create a new header called H4 in my style sheet. The size is obeyed, but not the color.
How can I change the color of text on one hyperlink within a static page?
Thanks,
Rick
I have a static page used for my center main front page. No matter what I do, I cannot get the text color to change on text I am using for a link. I have tried to change the color with COLOR="#861303" in the line. It still keeps the CSS main text color.
I have tried to create a new header called H4 in my style sheet. The size is obeyed, but not the color.
How can I change the color of text on one hyperlink within a static page?
Thanks,
Rick
10
6
Quote
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
If it is a specific link you may use an ID instead of a class or !important
http://www.tizag.com/cssT/cssid.php
http://www.tizag.com/cssT/cssid.php
8
10
Quote
Status: offline
Rick78
Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Hi again,
Thanks for the replies.
My site is http://www.grevepigerne.dk
This is a gymnastic site for a team in Denmark.
I think maybe the ID suggestion is a way to go. I only know a small amount of HTML and not much about stylesheets.
I guess I was hoping I could override the default link colors, if I placed them on the line itself. It did not override, so I removed them.
I was trying to make links on the text below the main picture, where we have presentation videos.
The normal link color is the same as my text. So the video links did not stand out.
My work around is to color the text and create a 'click here' link next to it.
Thanks a lot.
/Rick
Thanks for the replies.
My site is http://www.grevepigerne.dk
This is a gymnastic site for a team in Denmark.
I think maybe the ID suggestion is a way to go. I only know a small amount of HTML and not much about stylesheets.
I guess I was hoping I could override the default link colors, if I placed them on the line itself. It did not override, so I removed them.
I was trying to make links on the text below the main picture, where we have presentation videos.
The normal link color is the same as my text. So the video links did not stand out.
My work around is to color the text and create a 'click here' link next to it.
Thanks a lot.
/Rick
6
9
Quote
Status: offline
geiss
Forum User
Full Member
Registered: 02/10/04
Posts: 176
Location:Boise, Idaho
If you wrap just the link text in your color it should work, like this:
Thx!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
Text Formatted Code
<a href="http://www.grevepigerne.dk/staticpages/index.php?page=20080204141417362"><font color="#861303">Klik Her !</font></a>Thx!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
4
6
Quote
All times are EST. The time is now 07:04 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content