WordPress.org

Ready to get started?Download WordPress

Forums

How can I add padding to an external photo/or ad (3 posts)

  1. liabungalo
    Member
    Posted 6 years ago #

    I just added a leaderboard ad to the top of the site and I hate that I can't make it fixed. I realize the header isn't moving cause it has 150px on the left keeping it from sliding around. How can I do something similar to the ad?

    I don't know how to make a style sheet for an external photo/ad.

    The code for the ad is:
    <A HREF="http://bannerassets.electricartists.com/_data/click.php?id=468940"><img src="http://bannerassets.electricartists.com/_data/getBanner.php?id=468940" border="0"/>

    My site is: http://www.lifeinabungalo.com

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Use this code for your banner

    <div style="padding-left:150px;">
    <A HREF="http://bannerassets.electricartists.com/_data/click.php?id=468940"><img src="http://bannerassets.electricartists.com/_data/getBanner.php?id=468940" border="0"/>
    </div>

    See how that works for you.

  3. liabungalo
    Member
    Posted 6 years ago #

    I tweaked it a bit, but it worked like a charm. Thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic