1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to override CSS link colour

Discussion in 'PHP' started by TheDutchMan, Dec 9, 2008.

  1. #1
    I don't know if this is the correct forum but here goes.

    On one of my blogs I have the link in the php page that has a colour that i don't want. But I've tried all sorts of code but I can't seem to overtake the CSS and I don't want to change the colour of all my links.

    So my question is: is there a piece of code that i can insert to override the link colour?

    This is the blog Buy Dreamweaver CS4. I know ironic:)

    And the link I mean is in the header pic?

    Look at the terms at the Limited Bonus Page.
     
    TheDutchMan, Dec 9, 2008 IP
  2. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Right now you've got a <span> tag with a style param of #fff. Dreamweaver likes to use <span> tags for everything, which I why I don't recommend it at all.

    You can change the color by viewing the HTML and adding style="color: #fff;" to your <a> tag. That will change it to the white you are looking for.
     
    fireflyproject, Dec 9, 2008 IP
    TheDutchMan likes this.
  3. TheDutchMan

    TheDutchMan Peon

    Messages:
    374
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot, you just became my new hero!!

    Learned (again) another valuable lesson. First head over to my friends at DP before trying for hours.

    Again, thanks a lot, you rock!!
     
    TheDutchMan, Dec 10, 2008 IP