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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Mar 2009
    Posts
    101
    Thanks
    14
    Thanked 1 Time in 1 Post

    Question Can't stop a div from overlapping another

    I have a site I'm working on:
    http://www.girlscoutsmoheartland.org/drupal/
    and you'll notice at the very bottom the green copyright bar nicely situated below the sitemap.

    But if you go to any other page, that green bar is moved up a hundred pixels or so and overlapping the site map.

    The CSS for both the front page and the other pages are the same for those divs... why is it doing that? I have firebug in Firefox, and I can't figure it out. I've tried adding clear:both to one or the other div, I've used different position types, and I just can't figure out how to get the green bar to be below the sitemap div like it is in the front page.
    Any suggestions?
    Thanks!
    Last edited by Mechphisto; 05-03-2013 at 04:05 PM.

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    They are not the same CSS. You are referencing two different stylesheets for the home page and the inner page.

    Home page stylesheet: http://www.girlscoutsmoheartland.org...css/screen.css

    Inner page stylesheet: http://www.girlscoutsmoheartland.org...css/screen.css

    On the inner pages, your set a max height of 300 pixels to #foot-sitemap around line 523, which is why everything else gets cut off.
    My signature :)

  • Users who have thanked ttkim for this post:

    Mechphisto (05-03-2013)

  • #3
    Regular Coder
    Join Date
    Mar 2009
    Posts
    101
    Thanks
    14
    Thanked 1 Time in 1 Post
    Quote Originally Posted by ttkim View Post
    [...]
    On the inner pages, your set a max height of 300 pixels to #foot-sitemap around line 523, which is why everything else gets cut off.
    Oh my gosh! I can't believe I totally missed that!
    Thanks for the catch.

  • Users who have thanked Mechphisto for this post:

    ttkim (05-03-2013)

  • #4
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    No problem. We've all been there when we miss that one tiny little line of code.
    My signature :)


  •  

    Posting Permissions

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