Jump to content

Recommended Posts

Posted

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!

Posted

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>

Posted

Adding

#sidebar img {margin-left: -32px;}

will line it up.

 

I'm pretty sure you meant the mind is thirsty, not thirty.....

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...