GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   css prob, designers need your help (https://gfy.com/showthread.php?t=437360)

A C 02-26-2005 04:28 PM

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

h0st 02-26-2005 05:04 PM

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 }


Platinumpimp 02-26-2005 05:08 PM

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 :winkwink:

ssp 02-26-2005 05:10 PM

If your links are within separate elements you can also use this:

Code:

.element_x a
              {
              style       
              }

.element_y a
              {
              style       
              }


tyler86ed 02-26-2005 06:00 PM

Create seperate classes for them as mentioned above.

sixxxthsense 02-26-2005 06:10 PM

dreamwaver buddy!


All times are GMT -7. The time now is 03:57 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123