Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-26-2005, 04:28 PM   #1
A C
Confirmed User
 
Join Date: Dec 2002
Location: Im here, and there
Posts: 1,637
css prob, designers need your help

How do i make it so i have 2 diffrent link styles in one page?

So say i had 2 diffrent navis, what would the css file look like that would tell it that one should have a blue mouseover and the other have red?

Thanks

AC
A C is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2005, 05:04 PM   #2
h0st
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Finland
Posts: 1,216
Code:
html
<a href="#">xxx</a>
<a href="#" class="link2">xxx</a>

css
a:link, a:visited { color: #fff }
a:hover { color: #ff0000 }

a.link2:link,a.link2:visited { color: #fff }
a.link2:hover { color: #0000FF }
__________________
Did you say Pimp My Sexlife?
h0st is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2005, 05:08 PM   #3
Platinumpimp
Logos and such.
 
Platinumpimp's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Kingdom of the Netherlands
Posts: 10,214
Quote:
Originally Posted by A C
How do i make it so i have 2 diffrent link styles in one page?

So say i had 2 diffrent navis, what would the css file look like that would tell it that one should have a blue mouseover and the other have red?

Thanks

AC
I hear it...leave the design to the designers
__________________
I design logo's.
Platinumpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2005, 05:10 PM   #4
ssp
Confirmed User
 
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
If your links are within separate elements you can also use this:

Code:
.element_x a
              {
              style         
              }

.element_y a
              {
              style         
              }
ssp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2005, 06:00 PM   #5
tyler86ed
Confirmed User
 
Join Date: Jan 2004
Location: California
Posts: 543
Create seperate classes for them as mentioned above.
__________________

Check out all our new fresh FETISH sites, Tons of hosted galleries and fresh new content.
tyler86ed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2005, 06:10 PM   #6
sixxxthsense
Confirmed User
 
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
dreamwaver buddy!
sixxxthsense is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.