Jump to content

How to target a banner in CSS?


LenaCa

Recommended Posts

Please forgive for a rookie question. I haven't been doing much CSS stuff in the past year. I really am not sure how to target my banner in CSS? Website is navigate into joy dot com I want to position the web banner better, but I'm not sure how to target it, when writing CSS code.

 

Help is much appreciated!

Link to comment
Share on other sites

I'm sorry I meant my ad banner in the sidebar! I was going to line it up with my newsletter on top.

 

Here's my code I have now that doesn't work:

 

In css:

a .srbanner { padding-left: 5px; }

 

In sidebar.php:

<a href="link URL" target=_blank><img class="srbanner" src="URL with jpg" alt=""></a>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...