SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML, BODY full height

    Why doesn't my html and body go the full height of the page? I've already tried making it "height: 100%;" via CSS but the 100% doesn't go 100% of the page?! I have heard the DOCTYPE XHTML has something to do with it, but how can a find solution for it? because I have a <div> that is a parent of another <div> but the child is longer than the parent, and it makes it look really screwed up... here is a pic of what I'm talking about: Capture.PNG
    The small rectangle is the screwed up part...

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,592
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    100% height has to be done pretty carefully with CSS, and has a lot of restrictions. Check out this link for the lowdown on what's involved:

    http://www.sitepoint.com/forums/show...41#post1243541

    See if that helps, and preferably post a live link if you need more help.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never mind, it seems like there was a strong tag that I forgot to close, and it was screwing everything up, but thanks for those links, it'll come good for reference material.


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
  •