Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to do fullscreen two row layout without using a table

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33749
    czajah
    Member

    hi,

    at first i would like to apologize for my poor english :/

    I’m trying to do something like this but only with divs and css.

    By “like this” i mean a window-size page (height:100%;width:100%) with two rows: the bottom one with height ie. 30px and the top one fitted to the remaining space.

    How do you think – it’s posible?

    tia :)

    #84366

    The solution would be something like this:


    #container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    }
    #footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    }
    #84391
    czajah
    Member

    clever :) thank you

    #84441

    No worries, you may have issues with overflowing content though.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.