This is a discussion on "Different coloured links without modifying links?" within the Web Page Design section. This forum, and the thread "Different coloured links without modifying links? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Different coloured links without modifying links?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Different coloured links without modifying links?
Ok, I'm modifying the stylesheets for a forum and need to give links in differently named cells, different colours. I know you can put the class onto the link and do it that way, but I really don't want to have to edit LOADS of scripts, so is there a way to do this from the stylesheet with only the table cell named?
|
|
|
|
|||
|
Does each table cell have an id="[blah]" ?
|
|
|||
|
no, each table has a style="blah"
|
|
|||
|
can't see a quick way round it then. Grab a fresh coffee and dive in to that code!
|
|
||||
|
cant you just add a class="blah" to each table cell?
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
class=blah is on each cell, but not on the link itself...
|
|
|||
|
in that case
.blah a { color: red; } should do it. |
|
|||
|
Yep! That's it! Thanks D3mon! Knew it could be done just couldn't remember the bloody syntax!
|
|
||||
|
i see you just topped 100 posts!!
yay!
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Check out http://www.westciv.com/style_master/...ial/index.html for any CSS questions. Goes from the basic up to the wow-didnt-realise-you-could-do-that advanced.
|
|
|||
|
Thanks Nick - And welcome to the Forums!!
|
|
||||
|
Welcome to the forums Nick... and great site for my bookmarks!!
:wink:
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| different, coloured, links, without, modifying |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msie doesn't make my links links.. | delusion | Web Page Design | 7 | Nov 7th, 2007 08:05 |
| Links | Nimster | Web Page Design | 5 | Oct 22nd, 2007 18:26 |
| PR4 links for sale...links in an excellent position | agent14 | Link Building and Link Sales | 1 | Mar 5th, 2007 21:33 |
| PR 5 Links available for recip links | GARY | Link Building and Link Sales | 1 | Aug 19th, 2006 09:52 |
| Blured Links (image links) | bruno89 | Web Page Design | 2 | Jul 25th, 2006 14:48 |