Page 1 of 1
[Solved] Lots of empty lines in IE6 & FF with Album categories
Posted: Tue Sep 09, 2008 8:03 am
by Gregor
Hello,
I have set up some categories in the Album module, however if I look at the page in IE6 & FF , it show the first category on top, but there are a number of empty lines to get to the next category.
http://www.wsv-herkingen.nl/index.php?page=fotoboek
Is there a way to solve it
Thanks for your help!
Gregor
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Tue Sep 09, 2008 10:56 pm
by Dr.CSS
This is at the bottom of template...
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Wed Sep 10, 2008 4:24 am
by Gregor
Thanks Mark for your reply.
I noticed that that is at the bottom, however if I remove it the lay out is messed up. I'll remove it to show you. Hop eyou can help me; spend hours searching the form/web to find a solution.
Thanks for your help,
Gregor
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Wed Sep 10, 2008 8:48 pm
by Dr.CSS
I would look thru the template, page and album, for an unclosed div as it doesn't validate from this...
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Thu Sep 11, 2008 7:15 am
by Gregor
Thanks Mark for your suggestion.
I counted from the sources of the page-template, the album template, the news template, all and and they are equal

Pfff, what a job it was.
The errors the validator gives, I can't figure out how to solve these if the counted 'div' balance.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wsv-herkingen.nl%2Findex.php%3Fpage%3Dfotoboek&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.591
Validation Output: 4 Errors
Line 445, Column 6: end tag for "div" omitted, but OMITTAG NO was specified .
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Line 103, Column 0: start tag was here .
Line 445, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 103 and body .
Line 446, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 101 and html .
Line 447, Column 22: XML Parsing Error: Premature end of data in tag html line 4 .
If I look at the code, is closed properly, but still validator complains. same for
Same for 'OMITTAG NO', I can't figure where in the code it is specified. But, maybe this has to do with my limited knowledge of html
Could you give me a suggestion on the way to go?
Thanks in advance,
Gregor
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Thu Sep 11, 2008 10:43 am
by Gregor
An update.
I found in the page source the folowing missing:
Code: Select all
<p class="albumname">Jeugdzeilen 2006<br />
<span class="albumpicturecount">(25 foto's)</span><br />
<span class="albumcomment"></span></p>
</li>
</ul>
</div>
<div class="clear"></div> Er zijn nog geen albums in deze categorie aangemaakt. <div style='clear:both;'>
<!-- <br /> -->
<div style="clear:both"></div> <!-- voor Picasa -->
<!-- Start relational links -->
At the line
Er zijn nog geen albums in deze categorie aangemaakt.
the is missing, however I can't find it in a template

If I look in the page-template, that there is
{content}
but where the
is, I don't know. Not in the template of the album nor in the news template. This is confusing and frustrating. So, I removed the tag that refers to the album that has nog album in that specific category and now the
has gone. Could it be that there is something wrong in the Album-module? BTW, the good news is that it passes the validation without any errors
But, the album is still messy. Any thoughts? I'm considering the delete the Album module and re-install it. Although that's quit a job and I'm still not sure if that will solve the problem.
Gregor
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Thu Sep 11, 2008 9:16 pm
by Dr.CSS
div.album_content {float:left}
Re: Lots of empty lines in IE6 & FF with Album categories
Posted: Fri Sep 12, 2008 7:22 am
by Gregor
I put your tag in the album stylesheet and saw there another clear:both, removed that one and it all looks nice
Thanks for your time and support Mark!