Multiple link styles? (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


BondGamer -> Multiple link styles? (1/9/2004 0:05:19)

Is it possibly to have multiple link styles in one page? I have tried many different things but nothing is working.

For instance have a CSS which turns every link black but I want a few select links to be blue.




c1sissy -> RE: Multiple link styles? (1/9/2004 3:44:34)

quote:

ORIGINAL: BondGamer

Is it possibly to have multiple link styles in one page? I have tried many different things but nothing is working.

For instance have a CSS which turns every link black but I want a few select links to be blue.


Hi BondGamer,
Welcome to the forums.
Why don't you try using a class to do this with? And you can have multiple style sheets for different media, print etc... Not sure about how you would go about it for soemthing like this. Have you tried looking at Eric Meyers site?

Try this and see if anything helps you out.




BondGamer -> RE: Multiple link styles? (1/9/2004 12:43:35)

Yes I have tried doing multiple classes but how do you use the different link style functions within a class? If someone knows how to do this and could just give me an example. I have tried:

.style10 {a-link-color: #FFFFFF; }

But that doesn't work.

That link doesn't help because I don't have my users choose the style.




c1sissy -> RE: Multiple link styles? (1/9/2004 13:15:36)

quote:

ORIGINAL: BondGamer

Yes I have tried doing multiple classes but how do you use the different link style functions within a class? If someone knows how to do this and could just give me an example. I have tried:

.style10 {a-link-color: #FFFFFF; }

But that doesn't work.

That link doesn't help because I don't have my users choose the style.


Hi BondGamer

Go Here , I'm sure that with this tiny tutorial you will find the answers to your questions. If not, just pop back in.




BondGamer -> RE: Multiple link styles? (1/10/2004 0:18:35)

That did the trick, thanks!




c1sissy -> RE: Multiple link styles? (1/10/2004 7:20:15)

quote:

ORIGINAL: BondGamer

That did the trick, thanks!


Great BondGamer!

Good luck wiht the rest of it!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
3.076172E-02