Cron div in overall_footer causing space in IE8 below footer

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

I have noticed that the cron div right at the bottom of overall_footer.html is causing a blank space at the bottom of the page.

Code: Select all

</div>
</div>
<div><!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --></div>
</body>
</html> 
This does not occur in FF or IE7 so I can only assume it must be the way IE8 handles this particular div.

I should point out that I have a custom centered template with a drop shadow either side.

Is there a solution for this in IE8 or do I have to accept there will always be a blank space under the footer?

TIA
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28936
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Paul »

Please use the Support Request Template Generator to fill out the support template for you and then post it here.
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

Unfortunately the site isn't yet live and I don't want to make the URL publicly available so I'll pop back in about a week when it is, if I haven't resolved it by then.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28936
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Paul »

I don't need your site url actually, only what style you use and what MODs you have.
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

Well the style is based on Prosilver but it has been heavily modified to include a custom header and footer.

It's probably best if I fill out the support template when it's live so you can see how it's configured.

Incidentally, removing the cron div solves the problem so I just need a way of incorporating the cron task which IE8 deals with properly.
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

Here's the support template filled out.

If anyone has a solution for it I'd appreciate it.

Support Request Template
What version of phpBB are you using? phpBB 3.0.4
What is your board's URL? http://www.cliptheapex.com/forum/index.php
Who do you host your board with? Eukhost
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? Yes
What MODs do you have installed? Chat and Calendar
Please describe your problem. The cron div right at the bottom of overall_footer.html is causing a blank space at the bottom of the page.

This does not occur in FF or IE7 so I can only assume it must be the way IE8 handles this particular div.
What styles do you currently have installed? Prosilver (customised)
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
Generated by SRT Generator ($Rev: 2968 $)
pianistsk8er
Registered User
Posts: 273
Joined: Mon Jul 26, 2004 12:46 am
Location: University of Alberta, Canada

Re: Cron div in overall_footer causing space in IE8 below footer

Post by pianistsk8er »

I am having the same problem (although in Safari, not IE). What is the purpose of {RUN_CRON_TASK}? Would it cause any problems placing "display: none" for that div?
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28936
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Paul »

pianistsk8er wrote:I am having the same problem (although in Safari, not IE). What is the purpose of {RUN_CRON_TASK}? Would it cause any problems placing "display: none" for that div?
No, that should not be a problem. The purpose is to run several tasks in the background without slowing down the board.
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

pianistsk8er wrote:Would it cause any problems placing "display: none" for that div?
Nice one :)
A really simple fix.

That's 1 more niggle off the list.
adamjoseph
Registered User
Posts: 2
Joined: Tue Jul 07, 2009 11:53 pm

Re: Cron div in overall_footer causing space in IE8 below footer

Post by adamjoseph »

Sorry for bringing up a slightly old topic but...

I have corrected the space in every browser (I think) except for Internet Explorer 8, and well, I just don't know where you guys are placing this "display: none" attribute.

I tried placing it in the template and nothing, and there is no css in the themes that I can see that relates to this area for the div that is being discussed in this thread.

Can anyone help me locate where to put it to make this space disappear, or just be more specific so an idiot like me can understand. Thank you! :geek: :)
User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Cron div in overall_footer causing space in IE8 below footer

Post by Brogan »

Look in overall_footer.html for the cron task line and replace it with this:

Code: Select all

<div style="display: none"><!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --></div> 
adamjoseph
Registered User
Posts: 2
Joined: Tue Jul 07, 2009 11:53 pm

Re: Cron div in overall_footer causing space in IE8 below footer

Post by adamjoseph »

I did that and I still get about a 5px space on the bottom.

I am thinking at this point that it isn't that big of a deal although I would prefer it not to be there. I suppose it is safe to say that something about the body or html may be causing it at this point if attempts to change the style of the cron div have no effect. I placed 0px margin to some things and that takes away the space in the other browsers.

Thank you for your help though, and perhaps I will figure something out, but otherwise, I will just leave it alone if I get to crazy about it.
predavatel
Registered User
Posts: 1
Joined: Tue Jun 13, 2006 7:45 pm

Re: Cron div in overall_footer causing space in IE8 below fo

Post by predavatel »

white space down solved:
<div style="margin-bottom:-5px;"><!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --></div> :)

Return to “[3.0.x] Support Forum”