LenaCa Posted June 18, 2011 Report Share 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! Quote Link to comment Share on other sites More sharing options...
falkencreative Posted June 18, 2011 Report Share 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"? Quote Link to comment Share on other sites More sharing options...
LenaCa Posted June 18, 2011 Author Report Share 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> Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 18, 2011 Report Share 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..... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.