Forums

[resolved] Trouble creating link within Style.css (3 posts)

  1. glutenfreepost
    Member
    Posted 6 months ago #

    I have an advertisement I am trying to set up in the right hand corner of my blog. I can add the pic but cant seem to find the right code to link that pic to the correct site.

    If you go to http://www.glutenfreepost.com you will see the top ad and a few lines below it the same ad with the correct link.

    This is what it looks like now in Style.css:
    background: no-repeat url(images/holiday_ad.jpg) bottom right;

    And this is what it looks like in my Text Widget that works:
    <ahref="http://www.holidaybakingcompany.com/">img src="http://glutenfreepostv2.com/wordpress/wp-content/uploads/2009/04holiday_ad.jpg"alt="holiday_ad" width="239" height="65"/>

    So what part of that do I need to add to the CSS code to make it link to the bakery?

    Thanks Peeps!

  2. esmi
    Member
    Posted 6 months ago #

    The code in your Text Widget is all wrong. Try:

    <a href="http://www.holidaybakingcompany.com/"><img src="http://glutenfreepostv2.com/wordpress/wp-content/uploads/2009/04/holiday_ad.jpg" alt="holidaybakingcompany.com" width="239" height="65"/></a>

  3. glutenfreepost
    Member
    Posted 6 months ago #

    awesome, thank you and I will read up on these basics so I catch mistakes like this on my own. Many thanks.

Reply

You must log in to post.

About this Topic

Tags