Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
link colouring (td css class)
Old 03-17-2005, 06:50 AM link colouring (td css class)
clericvash's Avatar
Super Talker

Posts: 103
Trades: 0
Hi all if you look at http://www.core-coders.net/forum/index.php

The header links are black (home etc) is there anyway to set say td.head_block_left css class to have its own link colours specificly for that td class or do i have to use a class within each link?
clericvash is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-17-2005, 09:34 AM
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
yes,

define a class that encapsulate your links and then define your css styles for the elements that will be with in the class

ie

.container1 { width:750px; }

<!-- then with in this class you can define specific styles for links, divs, p's etc -->

.container a { color:#ffffff;font-family:arial; text-decoration:none; }

.container a:hover {font-family:arial; text-decoration:none; font-weight:bold}


<!-- you can redefine another that has a different font color : -->

.container2 { width:750px; }

.container2 a { color:#000000; font-family:arial; text-decoration:none; }

.container2 a:hover {font-family:arial; text-decoration:none; font-weight:bold}


Hope this helps

Steve
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Old 03-17-2005, 09:35 AM
clericvash's Avatar
Super Talker

Posts: 103
Trades: 0
ah right i get you!, thanks!
clericvash is offline
Reply With Quote
View Public Profile
 
Old 03-17-2005, 09:47 AM
clericvash's Avatar
Super Talker

Posts: 103
Trades: 0
i tried that i enclosed a table in div tags to change the headers link colours but it then change all links on the page
clericvash is offline
Reply With Quote
View Public Profile
 
Old 03-17-2005, 09:55 AM
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
send me the code.

either here or to ssmason@gmail.com
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Reply     « Reply to link colouring (td css class)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26100 seconds with 12 queries