navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
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

 

Help modifying appearance of some links

 
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 >> Help modifying appearance of some links
Page: [1]
 
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
Help modifying appearance of some links - 1/25/2005 12:38:05   
I can use the following to have my links be green with a dashed underline:

a:link {color: green;}
a:visited {color: green;}
a.active {color: green;}
a:hover {background-color: #ffffff;}
a {text-decoration: none;border-bottom: 1px dashed}

My problem is this, I only want to apply the above style to some of the links on the page, not all. I thought I could do that by changing the above to:

glossary.a:link {color: green;}
glossary.a:visited {color: green;}
glossary.active {color: green;}
glossary.a:hover {background-color: #ffffff;}
glossary.a {text-decoration: none;border-bottom: 1px dashed}

And then chaning my link tag to add:

class="glossary"

Evidently, I am not quite on base. Any thoughts for this CSS wannabe?

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Help modifying appearance of some links - 1/25/2005 12:46:15   
Nevermind. Found it. I need to have a.glossary not glossary.a.

Must say I find CSS a blast!

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to BeTheBall)
jaybee

 

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

 
RE: Help modifying appearance of some links - 1/25/2005 13:11:34   
Duane

Get yourself a css reference chart from Visibone or use the one at www.w3schools.org.

It makes life much simpler.

:)

_____________________________

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

:)
GAWDS
Now where did I put that Doctype?

(in reply to BeTheBall)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Help modifying appearance of some links
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