Reply
Old October 21st, 2002 Top | #1
 
Nismo83's Avatar
OSNN AZN Addict
Joined: March 2004
Posts: 383
Reputation: 10
Power: 103

Question CSS class?

Is there any way to specify a class for those hyperlink other than:

Code:
a:link {
 font-family: verdana, arial, "ms sans serif", sans-serif; 
 color: #000000;
 font-weight: normal; 
 text-decoration: none;
 text-align:center;

 }
a:visited {
 font-family: verdana, arial, "ms sans serif", sans-serif; 
 color: #000000;
 font-weight: normal; 
 text-decoration: none;
 text-align:center;

 }
a:active {
 font-family: verdana, arial, "ms sans serif", sans-serif; 
 color:#000000;
 font-weight: normal; 
 text-decoration: none;
 text-align:center;

 }
a:hover {
 font-family: verdana, arial, "ms sans serif", sans-serif; 
 color:#000000;
 font-weight: normal; 
 text-decoration: underline;
 text-align:center;
This is because i'm have a lot of links in my web page and need to have different values(colors and text decoration) on each category of link.

I am currently { | | | | }
=========================
Intel P4 1.5 Ghz
Intel D850GB MOBO
256MB PC 800 RDRAM
20GB Maxtor HDD (5400 RPM)
40GB Maxtor HDD (7200 RPM)
52X Creative CDROM
8X4X32 Creative CDRW
16X ASUS DVD ROM
Iomega 100 MB USB Zip Drive
SYBA Ultra ATA IDE controller card
SB live 5.1 DE
Ageing Gainward 64MB GF2MX400 --> | Upgrading to GF4 Ti4 series |
Altec Lansing ACS 56
Dlink D538TX NIC

=========================
Nismo83 is offline   Reply With Quote
Old October 21st, 2002 Top | #2

OSNN Folding Team  
Zedric's Avatar
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 175

Cool

Sure. Those there aren't even classes, they are selectors.

a.linktype1{[...]} is a new class. Usage: <A CLASS="linktype1" [...]>[...]</A>
You can even have a.linktype1:hover{[...]} if you want to.


Did I help you? Please use the reputation system. Click the icon on the left!
Proud host of the OSNN.net folding sigs. Want one? Check the folding thread!
http://zedric.no-ip.com/
Zedric is offline   Reply With Quote
Old October 22nd, 2002 Top | #3
 
Nismo83's Avatar
OSNN AZN Addict
Joined: March 2004
Posts: 383
Reputation: 10
Power: 103

Default

ty

I am currently { | | | | }
=========================
Intel P4 1.5 Ghz
Intel D850GB MOBO
256MB PC 800 RDRAM
20GB Maxtor HDD (5400 RPM)
40GB Maxtor HDD (7200 RPM)
52X Creative CDROM
8X4X32 Creative CDRW
16X ASUS DVD ROM
Iomega 100 MB USB Zip Drive
SYBA Ultra ATA IDE controller card
SB live 5.1 DE
Ageing Gainward 64MB GF2MX400 --> | Upgrading to GF4 Ti4 series |
Altec Lansing ACS 56
Dlink D538TX NIC

=========================

CPU | AMD64 3000+ VENICE - RAM | 1GB DDR 333MHz HYNIX KVR - MOBO | GIGABYTE K8NSC - HDD | 200GB MAXTOR HDD, 120GB WD HDD, 80GB WD HDD, 40GB MAXTOR HDD - GFX | 256MB DDR3 GIGABYTE ATI X800PRO - SOUND | CREATIVE AUDIGY2ZS PLATINUM PRO - SPEAKER | LOGITECH Z680 DTS/DD - PSU | THERMALTAKE 420W PSU - OPTICAL | ASUS CDRW, ASUS DVD-ROM - MONITOR | VIEWSONIC E90f+ 19" FLAT - ROUTER | CNet ADSL ROUTER MODEM

Nismo83 is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone worked with the BSTR class? Complete Web Design & Coding 1 September 15th, 2007 8:50am
Utility Class Complete Web Design & Coding 1 September 11th, 2007 10:59am
For Class -- Pong X-Istence Web Design & Coding 3 April 22nd, 2007 9:05pm
bored in class what are you doing? VenomXt Green Room 19 February 1st, 2005 12:11pm
VerifierBug.class Trojan!! Static 99 Windows Desktop Systems 10 September 10th, 2003 11:25am