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

 

have an external css file and I want to add styles in it for link colors...

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

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

All Forums >> Web Development >> Dreamweaver Help >> have an external css file and I want to add styles in it for link colors...
Page: [1]
 
lsfphelpls

 

Posts: 443
Joined: 3/16/2005
Status: offline

 
have an external css file and I want to add styles in i... - 11/30/2007 4:00:39   
I have an external css file and I want to add styles in it for link colors[a:link, a:visited...], what to do ? I use dreamweaver mx 2004.
jaybee

 

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

 
RE: have an external css file and I want to add styles ... - 11/30/2007 7:53:13   
Open the css file and add the changes?

_____________________________

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

:)
GAWDS
Now where did I put that Doctype?

(in reply to lsfphelpls)
lsfphelpls

 

Posts: 443
Joined: 3/16/2005
Status: offline

 
RE: have an external css file and I want to add styles ... - 11/30/2007 9:48:52   
I want to add new css , these types i refer do not yet exist ? How to add them automatically via dreamweaver mx 2004 menus ?

(in reply to jaybee)
coreybryant

 

Posts: 2422
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: have an external css file and I want to add styles ... - 11/30/2007 10:36:56   
CSS Pseudo Classes might help understand how to add them.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to lsfphelpls)
jaybee

 

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

 
RE: have an external css file and I want to add styles ... - 11/30/2007 10:53:36   
quote:

I want to add new css , these types i refer do not yet exist ? How to add them automatically via dreamweaver mx 2004 menus ?


As Corey indicates, if you want to use complex css then you need to learn css and not rely on DW or any of the other automated software to do it for you. When you need to change something in a few months time you'll be glad you did.

_____________________________

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

:)
GAWDS
Now where did I put that Doctype?

(in reply to coreybryant)
lsfphelpls

 

Posts: 443
Joined: 3/16/2005
Status: offline

 
RE: have an external css file and I want to add styles ... - 11/30/2007 12:42:56   
this is excatly correct syntax to be used ?
 link {
a:link {color: #FF0000}     /* unvisited link */
a:visited {color: #00FF00}  /* visited link */
a:hover {color: #FF00FF}   /* mouse over link */
a:active {color: #0000FF}   /* selected link */ 
}

(in reply to jaybee)
coreybryant

 

Posts: 2422
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: have an external css file and I want to add styles ... - 11/30/2007 13:01:41   
You don't need the link { and the last } in there sp that it would be
a:link {color: #FF0000}     /* unvisited link */
a:visited {color: #00FF00}  /* visited link */
a:hover {color: #FF00FF}   /* mouse over link */
a:active {color: #0000FF}   /* selected link */
. The things between / can be removed because they are just comments.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to lsfphelpls)
Tailslide

 

Posts: 5915
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: have an external css file and I want to add styles ... - 11/30/2007 14:20:30   
You also need :

a:focus {color:#FF00FF;}


Between a:visited and a:hover. To be honest i tend to have the focus, hover and active rules the same so I'd have:

a:focus, a:hover, a:active {color:#FF00FF;}


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to coreybryant)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> have an external css file and I want to add styles in it for link colors...
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