[Solved] Lots of empty lines in IE6 & FF with Album categories

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

[Solved] Lots of empty lines in IE6 & FF with Album categories

Post 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
Last edited by Anonymous on Sun Sep 14, 2008 3:55 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post by Dr.CSS »

This is at the bottom of template...

User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post by Dr.CSS »

I would look thru the template, page and album, for an unclosed div as it doesn't validate from this...
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post 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
Last edited by Gregor on Thu Sep 11, 2008 10:55 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post by Dr.CSS »

div.album_content {float:left}
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: Lots of empty lines in IE6 & FF with Album categories

Post 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!
Post Reply

Return to “Layout and Design (CSS & HTML)”