Can anyone tell me where to get rid of this huge white space between my menu bar and forums list? Help appreciated!
Huge white space
Collapse
X
-
-
-
White space like that is most commonly caused by improperly closed HTML tags. Would need to see the site on and functioning to look at the generated HTML.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
To make the error reporting revert to the bugged support of earlier versions add the following line to your config.php under the <?php line:
Code:define('SKIP_ALL_ERRORS', true);
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
I am not seeing a large white space or gap on your site using Google Chrome. What Browser does this occur in?Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
In firefox it shows as an image if you right click it and if you view the source code this seems to be the offending code. from line 317 to line 342
Code:var theImages = new Array() theImages[0] = '' theImages[1] = '' var j = 0 var p = theImages.length; var preBuffer = new Array() for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ if(whichImage==0){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); } else if(whichImage==1){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); } } </script>
Comment
-
I found it, but am not certain how to fix it. It's in ad_global_below_navbar. How can I fix it without crashing something else?
<div id="ad_global_below_navbar"><center>
<SCRIPT LANGUAGE="JavaScript">
var theImages = new Array()
theImages[0] = ''
theImages[1] = ''
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
if(whichImage==0){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
}
else if(whichImage==1){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
}
}
</script>
<script>
showImage();
</script>
</center><vb:if condition="$adsshown[] = 4"></vb:if></div>Comment
-
-
Code:theImages[0] = '' theImages[1] = ''
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
Related Topics
Collapse
-
by andyleightonHi,
There is too much white space between my site logo and the menu bar, what code would I use in the additional.css file to reduce this?
I did try this:
#header.site-logo{padding:22px...-
Channel: Support Issues & Questions
Fri 21 Feb '20, 9:09pm -
Comment