View Full Version : Trying to get rid of the white space above the Below Nav Bar Advert
CaneInsider
05-18-2012, 12:32 AM
Anybody know where I can go to make the below nav bar advertisement only a couple pixels below the bread crumb on my site? Also would like to get rid of some of the white space below the same advert as well. Thank you
www.caneinsider.com
Lynne
05-18-2012, 01:13 AM
First off, you have an extra </header> right before the ad div, and you have a <br /> in the ad. This is directly from your page source:
</span> </fieldset> </nav> </div> </header> <div id="ad_global_below_navbar"><br /> <table border="0" cellspacing="30" align="center" >
And you have extra </center> and extra </div> tags in there too. I would run the page through an html validator, fix the sloppy html, and then fix the CSS/spacing issues.
CaneInsider
05-18-2012, 02:28 AM
First off, you have an extra </header> right before the ad div, and you have a <br /> in the ad. This is directly from your page source:
</span> </fieldset> </nav> </div> </header> <div id="ad_global_below_navbar"><br /> <table border="0" cellspacing="30" align="center" >
And you have extra </center> and extra </div> tags in there too. I would run the page through an html validator, fix the sloppy html, and then fix the CSS/spacing issues.
Thank you for pointing that out. ran it through w3.org and it appears to be much better now. Still would like to know how to get rid of the extra white space above and below the advert.
Lynne
05-18-2012, 02:33 AM
It's the form on the right side of the advert that is adding the space:
#mc_embed_signup form {
display: block;
padding: 10px 0 10px 3%;
etc
}
Along with this from the notice:
.notices {
background: none repeat scroll 0 0 #FFFFFF;
margin: 5px 0;
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.