Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Div footer is breaking

    Hello

    I have problem with div that I just can't figure out what is wrong. I noticed that in my design page breaks with content. More content there is, the worse will footer be. I appolagize for my bad english.

    here is my page

    if you scroll down to the bottom of the page, you can see that those boxes are going out of container. If I remove those boxes, then the blog content will go over. If you see home site of the page you can see that footer is all good. Then if you click on second button "about me - o meni" then sometimes footer breaks, sometimes not. If you refresh o meni page, footer will always break. Something must be wrong with container? I checked and all divs are closed. If you will se ul problem it is becouse of java script. It is not affecting on this problem. I tried to remove it and the result was still the same.

    Can you please help me out?

    Best regards,
    Igor

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    You have a problem with your html somewhere. On your home page, if I view in Firebug, #footer is within #wrapper, but on your blog page it's outside it.

    Both pages have validation errors, and in fact your home page but not your blog page has a mismatched div tag.

  • Users who have thanked SB65 for this post:

    amaze646 (11-04-2010)

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    There are some closing tag mismatches in your page ,see http://validator.w3.org/check?verbos...3Fpage_id%3D46. Fix them to continue.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    amaze646 (11-04-2010)

  • #4
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    5
    Thanked 0 Times in 0 Posts
    First I would like to say thank you very much for your help. So, I cleaned my code so there is only one error left. It says that ul tag is not closed but it is. It is just that my javascript fills with li tags. So by default there is no li tags in it. So there is only one error. I tryed to delete this ul tags out so there was no errors but my footer is still messed up. Help please

    @SB65: I fixed thing with footer beeing out of wraper. Now it is in wraper but still the same error

    so if you validate http://dev.mazej.net/?page_id=46 there is only one error left.

  • #5
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    5
    Thanked 0 Times in 0 Posts
    anyone?

  • #6
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Its because you have put a <ul></ul> in your code without coding a <li></li> within the unordered list. If you open your page, and view source, I think the lines in question are around line 94. You will see an unordered list opening and closing tag and no list items inside.

    Actually its this code:

    Code:
    <ul id="mycarousel" class="jcarousel-skin-moja">
    							
     
    								<!-- Slike se dinamicno nalagajo sem -->
     
    						</ul></div>

  • #7
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    5
    Thanked 0 Times in 0 Posts
    First I thought that too. But than I tested and remove this ul tags (gallery) so that validation was with out errors. But I still had the same problems with the footer.
    Quote Originally Posted by teedoff View Post
    Its because you have put a <ul></ul> in your code without coding a <li></li> within the unordered list. If you open your page, and view source, I think the lines in question are around line 94. You will see an unordered list opening and closing tag and no list items inside.

    Actually its this code:

    Code:
    <ul id="mycarousel" class="jcarousel-skin-moja">
    							
     
    								<!-- Slike se dinamicno nalagajo sem -->
     
    						</ul></div>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •