PDA

View Full Version : GAP before footer on photoblog


tanjatiziana
02-23-2006, 04:55 AM
Can't seem to get this solved, so I turn to you, the gurus.

On my photoblog, regardless of how I work the template coding, I get a HUGE empty gap at the bottom of my blog before the footer. There is certainly no gap in the footer file and no breaks in the templates either... yet, there it is.

You can see it on the main image template or even the archive
http://www.doublecrossed.ca

Any ideas?

eon
02-23-2006, 08:00 AM
It looks you have 3 pages in one. You use 3 times <html></html>. Why?

tanjatiziana
02-23-2006, 03:22 PM
It looks you have 3 pages in one. You use 3 times <html></html>. Why?

I'd assume because the blog uses the header/footer option and combines 3 pages into one by default...

eon
02-27-2006, 08:22 AM
You solved your problem isn't it?

tanjatiziana
02-27-2006, 03:30 PM
No, not at all. No one else replied so I left the gap as it is.

I tried removing the <html> tags from the pages as an experiment, but that didn't work... so i put them back in and left things as is. I have no idea what else to do... which is why I turned to the forum.

Joe[y]
02-27-2006, 09:34 PM
you only need to include the <html> at beginning of the header.html and </html> at the end of the footer. header - pages - footer literally glues the exact code in each together.. so if you have <html> in all of them then you'll have <html> time times on every page.

tanjatiziana
02-27-2006, 09:37 PM
Yes, I understand this completely.
But correcting the code so that the extra <html> tags are gone does nothing to solve the gap issue unfortunately.

Joe[y]
02-27-2006, 09:48 PM
ok well same goes for <body> !

tanjatiziana
02-28-2006, 06:40 AM
Hmm, got rid of body tags too. No change.

Only real duplicate code now is CSS style references (because link colours and such are different in header vs image template for example).

se.nsuo.us
02-28-2006, 06:48 AM
Take a look at http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.doublecrossed.ca%2F

I have found that solving validation errors usually results in eradication of problems like yours....

tanjatiziana
02-28-2006, 07:17 AM
*sigh*

Thanks. First check = 20 errors (the pain of worrying about design first).

Fixed all but 3 non-critical formatting ones (hooray!) BUT the gap remains.

*shaking fist!*

Was worth a try.

se.nsuo.us
02-28-2006, 08:09 AM
Damn!!! Send me the URL to the theme zip via PM I will have it fixed

se.nsuo.us
02-28-2006, 09:01 AM
</div></th>
</tr>
</tbody></table>

Delete this and the gap goes away - and yes the mark up of your template is too complex :)

tanjatiziana
02-28-2006, 03:04 PM
lol.. complex but i like it. it shows up fine aside from the gap (in browser tests), so i'm gonna have to keep 'er!


I got rid of that <DIV> tag, which did nothing, unfortunately. It does leaving me with an unclosed <div> tag at the top unless i put it back though.

That div may be the root of the problem... but placement of the tags doesnt appear to make a difference. I use the div layer on the page so that the image content floats above the background of the page on which i have an a subheader image (the subhead image needs to sit behind the post).

t