LenaCa Posted June 18, 2011 Report Posted June 18, 2011 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!
falkencreative Posted June 18, 2011 Report Posted June 18, 2011 The general banner? The slides within the banner? The banner has an id of #banner, and the slides within the banner has a class of .slide. What exactly do you mean by "position the banner better"?
LenaCa Posted June 18, 2011 Author Report Posted June 18, 2011 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>
Andrea Posted June 18, 2011 Report Posted June 18, 2011 Adding #sidebar img {margin-left: -32px;} will line it up. I'm pretty sure you meant the mind is thirsty, not thirty.....
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now