navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Style Sheet misery

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Style Sheet misery
Page: [1]
 
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 >
jaybee

 

Posts: 14175
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Style Sheet misery - 6/22/2004 4:37:08   
Dave, post this in the CSS forum along with the style sheet code.

The active link is the one you're currently in, ie you've clicked on it.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to DaveX)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Style Sheet misery - 6/22/2004 9:59:10   
and with a magic *poof* the thread is now in the CSS forum...

:)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to jaybee)
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/

(in reply to DaveX)
jaybee

 

Posts: 14175
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Style Sheet misery - 6/22/2004 13:42:08   
quote:

and with a magic *poof* the thread is now in the CSS forum...


Who's a magic poof? Do I know him? :)

Dave

If Deb's suggestion doesn't work then post the code for us and we'll take a look.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to c1sissy)
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

(in reply to DaveX)
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;
}

(in reply to DaveX)
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/

(in reply to DaveX)
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

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Style Sheet misery - 6/22/2004 17:16:08   
Ok I have another suggestion for you,
You need to put in a dtd. I think if you do this it might help you out a bit.

_____________________________

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/

(in reply to DaveX)
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

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Style Sheet misery - 6/22/2004 18:07:54   
Good Job Dave, I didn't have time to really look over it, cookin' chops on the grill for dinner. (not lamb chops though :))

_____________________________

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/

(in reply to d a v e)
DaveX

 

Posts: 215
Joined: 5/4/2004
Status: offline

 
RE: Style Sheet misery - 6/22/2004 18:27:49   
What's a dtd?

(in reply to c1sissy)
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

(in reply to DaveX)
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/

(in reply to DaveX)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Style Sheet misery
Page: [1]
Jump to: 1





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