SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Kaystarmaker's Avatar
    Join Date
    Jan 2005
    Location
    The Netherlands
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    div not stretching like it should

    hi all, i'm working on a schoolproject, with this site:

    http://www.mozaiekfabriek.nl/fluxility/crimikrant/
    and the CSS: http://www.mozaiekfabriek.nl/fluxili...stylesheet.css

    but, as you can see when you scroll down, div#wrap doesnt have the 100% of body height like it says in the css....and i have no clue how to fix this...any help?

    it might be the big number of absolute divs in it....but they're easy to work with and this site doesnt need a fluid design, so i'd rather not change that unless its really neccecerely.

    thanks

  2. #2
    Winemaster bronze trophy BonRouge's Avatar
    Join Date
    Oct 2004
    Location
    Sendai, Japan
    Posts
    2,417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As you suspected, it's the absolute positioning. That takes the elements out of the flow of the document. It's better to use relative positioning and floats (and clear the floats when necessary).

  3. #3
    SitePoint Zealot Kaystarmaker's Avatar
    Join Date
    Jan 2005
    Location
    The Netherlands
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm...okay, i guess i'll have to try that. 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
  •