SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question CSS Floating Div Help

    I'm currently try to build my first site from scratch and I'm having some CSS issues. What I would like to happen is my slideshow on the homepage to always stay within the navigation bar and the footer. However when the screen is adjusted the footer will sometimes go under the slideshow; I adjusted the zindex so it did not overlap it. I'd like to fix the CSS so that the center div always stays within the and footer.

    My Site: http://artsatheart.atwebpages.com/

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,297
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Hi tksforlife. Welcome to the forums.

    Yes, unfortunately CSS is not well suited for footers stuck to the bottom of the page, and it takes fairly clever workarounds to make it behave properly across devices and in all situations. Here is a definitive guide to how to do this properly:

    http://www.sitepoint.com/forums/show...66#post1239966

  3. #3
    SitePoint Member
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!


Bookmarks

Posting Permissions

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