vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Trying to get rid of the white space above the Below Nav Bar Advert (https://vborg.vbsupport.ru/showthread.php?t=283095)

CaneInsider 05-18-2012 12:32 AM

Trying to get rid of the white space above the Below Nav Bar Advert
 
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:

HTML Code:

</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

Quote:

Originally Posted by Lynne (Post 2330295)
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:

HTML Code:

</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:
HTML Code:

#mc_embed_signup form {
    display: block;
    padding: 10px 0 10px 3%;
etc
}

Along with this from the notice:
HTML Code:

.notices {
    background: none repeat scroll 0 0 #FFFFFF;
    margin: 5px 0;
}



All times are GMT. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete