|
| |
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
Style Sheet misery - 6/21/2004 22:39:56
I'm new to style sheets. I'm using a template that uses style sheets. My problem is that I'm trying to change the properties of a menu as far as link colors go. I choose four different colors for different links (Link, Active, Visited, Hover). The colors I choose are correct but they don't correspond with the correct instances. Also, when a link is visited it changes to the (wrong) color but changes back to the unvisited color as soon as I go to a different link. By the way, what is an 'Active" link anyway? Any ideas? Thanks, Dave
< Message edited by DaveX -- 6/21/2004 23:01:08 >
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Style Sheet misery - 6/22/2004 10:37:58
quote:
ORIGINAL: DaveX I'm new to style sheets. I'm using a template that uses style sheets. My problem is that I'm trying to change the properties of a menu as far as link colors go. I choose four different colors for different links (Link, Active, Visited, Hover). The colors I choose are correct but they don't correspond with the correct instances. Also, when a link is visited it changes to the (wrong) color but changes back to the unvisited color as soon as I go to a different link. By the way, what is an 'Active" link anyway? Any ideas? Thanks, Dave Hi Dave, welcome to outfront. One thing I'm going to suggest to you right now is to check the order of your links. Just remember lvha for your order. (link, visited, hover, active) If they aren't in the correct order, the cascading of styles can interfere with how they work Here is a link for you to check out. It has a brief description on it for you to read. I also suggest that you check out the links section at the top of the css section. I'm sure that you will find a good bit of information to get you started with css. And of course, come here and make sure you post your questions!
< Message edited by c1sissy -- 6/22/2004 10:41:12 >
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Style Sheet misery - 6/22/2004 15:09:09
Well, the order was wrong so I changed that. It still acts funny though. For instance, I'll click link A and when I come back to it, it will still be the same color but when I click link B or C, then link A will change... It's very weird. Also, what exactly is an Active link? Thanks for the help, people! Dave
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Style Sheet misery - 6/22/2004 15:09:38
Oh yeah, here's the code! A:link { color: #FF0000; text-decoration: none } A:visited { color: #000080; text-decoration: none } A:hover { color: #FF0000; text-decoration: none } A:active { color: #FF0000; text-decoration: none } TD { font-size: 12px; font-family : Verdana; } P { font-size: 12px; font-family : Verdana; } TD.smaller { font-size: 11px; font-family : Verdana; color : #000000; } P.smaller { font-size: 11px; font-family : Verdana; color : #000000; } HR { color : #3399CC; }
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Style Sheet misery - 6/22/2004 15:50:46
Just took a quick look, make sure all your values have semi colons after them, If you don't it sometimes will interfere with your other styles. at this point, I dont see anything else. Do you have a link to post with the site? It could be something in you xhtml/html code.
< Message edited by c1sissy -- 6/22/2004 15:53:00 >
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Style Sheet misery - 6/22/2004 17:02:28
Here's a link: http://www.sonofnostalgiazone.com/index2.htm Could it be as a result of messing with page properties or table or cell properties? I did a little of that before I figured out the CSS stuff but I went back and made sure all pages were set to CSS... Dave
|
|
|
|
d a v e
Posts: 4136 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Style Sheet misery - 6/22/2004 17:25:38
take out the link info from here <body bgcolor="#C0C0C0" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="font-size: 14pt; font-family: Trebuchet MS" link="#FF0000" vlink="#0000FF" alink="#FFFF00">
_____________________________
David Prescott Gekko web design
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Style Sheet misery - 6/22/2004 18:27:49
What's a dtd?
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Style Sheet misery - 6/22/2004 19:14:08
d a v e, I'm not sure what you're asking me to do with the code you posted... Dave
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Style Sheet misery - 6/22/2004 22:35:44
quote:
ORIGINAL: DaveX d a v e, I'm not sure what you're asking me to do with the code you posted... Dave Hi dave, what he is telling you to do is to go into your html code look for the part that he is showing you and remove the links code that is in there. This could be what is causing your problem. HERE is a link for you explaining what a dtd is. If you have any questions aftewards just come here or to one of the begining web areas and someone will help you out with it.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|