Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change the colour of a link to White within a table

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38447
    pakman
    Member

    I am trying to change the colour of a link to be white and feel like hitting head against a wall.. http://www.leaner-life.co.uk/4in1proteintest.htm – This is just a test page for the time being, but you will see that their are 4 cells in a table that are black. I wanted to change the writing to white (except the part Quick Goals, which is blue – So you see I have done it on all the other ext except the links – However I do it they just will not change …. Any ideas… ??? Am I just missing something so simple…

    have done things like a style color:white, have done font color=white.. as mentioned all other text changes except the links

    #104156
    Paulie_D
    Member

    Why are you using a table instead of divs or something else?

    You also have the text wrapped in a b tag which is probably overriding everything else.

    If you must use a table then give it an id and address it in your css sheet rather than using inline styling.

    #104157
    pakman
    Member

    Thanks for the response Paulie_D

    TBH I am newish to website building and learning as I go along so what I put in is basically what I know…

    I will try taking the B tag off and see what happens…

    I will also look at your suggesions as well… All much appreciated…

    Cheers

    Paul

    #104160
    pakman
    Member

    Hi there… took the b tag out and it worked fine… thanks for that… I would never have got that one…

    Paul

    #104171
    Paulie_D
    Member

    Glad that worked for you.

    As you are new to this, here’s something I said in another thread.

    “To be honest, you’re better off starting with a good reset/normalise css file and, perhaps a grid system.

    There are a lot of options out there. HTML boilerplate will have a lot of what you need and I highly recommend the 960 grid system (from 960.gs) although the others have their own preference for grid systems.

    If you’re not familiar with a grid system or perhaps some of the basics I also recommend checking out a couple of video series from net-tuts.

    1. http://net.tutsplus.com/sessions/web-design-from-scratch/
    2. http://net.tutsplus.com/sessions/photoshop-to-html/

    The first is quite basic but has some useful stuff that we often overlook while the second has a useful section on the 960 grid system.”

    #104381
    pakman
    Member

    Excellent – appreciate that… Something to take a look at.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.