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

 

A: Classes

 
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 >> A: Classes
Page: [1]
 
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
A: Classes - 3/11/2004 11:03:11   
If I want a second class of link properties, does the hover and visited that are under the link follow the class set for link?, or do I have to give each one the class name:

Meaning, can I do this:

a: link.two {color: red;}
a: hover {color: white}
a: visited {color: blue}

or do I need to do this

a: link.two
a: hover.two
a: visited.two

to keep the hover and visited from following the default settings under the main link properties?

des that make sense?

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog
Giomanach

 

Posts: 6115
Joined: 11/19/2003
From: England
Status: offline

 
RE: A: Classes - 3/11/2004 11:07:36   
I'm sure it's:

.two a:link{color:red;}

and so on, just assign the class to the table cell the link is in.

_____________________________




(in reply to Peppergal)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: A: Classes - 3/11/2004 11:40:07   
thanks - now next duh question...do I have to put that .two before each part - meaning, .two A:hover, .two A:visited ?

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to Giomanach)
Giomanach

 

Posts: 6115
Joined: 11/19/2003
From: England
Status: offline

 
RE: A: Classes - 3/11/2004 11:40:51   
Yup, can I go home now?

_____________________________




(in reply to Peppergal)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: A: Classes - 3/11/2004 11:42:35   
I say "duh" because I really should know this but my brain is still stuck with play doh and glue sticks, Clovis of the Franks, telling time, bible lessons, pet mice, and shopping cart choices.

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to Peppergal)
Giomanach

 

Posts: 6115
Joined: 11/19/2003
From: England
Status: offline

 
RE: A: Classes - 3/11/2004 11:44:23   
I can tell your mind isn't where it should be, take a break, sounds like you need one, anyways, I'm off home, if you need me, you know how to get hold of me

_____________________________




(in reply to Peppergal)
bobby

 

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

 
RE: A: Classes - 3/11/2004 12:47:09   
I've always done it this way:

a.two:link {
}

and they should be in this order...

link
visited
hover
active

_____________________________

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


:)

(in reply to Giomanach)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: A: Classes - 3/11/2004 19:40:24   
Thanks Bobby...that's what I saw previously. Up till now I never needed two classes of link colors so only gave it a cursory glance. I tend to wait till I need something then find it out. Not always a good thing....

my brain is more clear tonight.

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to bobby)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> A: Classes
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