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

Home Forums CSS 100% height divs with multiple backgrounds

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26305

    Hello, the problem i have is hard for me to explain, because i’m not too good in english, so i’ll try to show it:
    This is basic layout i want to have

    and those are background images that need to be in specific positions

    The first image shows what i want to achieve:
    – Big image in background, about 1600-2000 anchored to top left, no repeat.
    – Header, with no specific content, nor background
    – image on bottom of page (always on bottom) repeated-x, image must be under image from menu
    – Menu filled with background repeated-y, it MUST always have to be stretched to the bottom of page
    – content and footer on right

    And now i have problems:
    i can’t get to work two images: fill of menu, and this image on bottom of page, problem is, that when (for example) bottom image is always on bottom, then menu isn’t scaling with height, and stops right after end of menu content, another problem is, that when i finally stretch menu to bottom, then if content is shorter the bottom image is higher than it should (and should be on bottom).

    I won’t show you any css or html, because i had so many attempts,that i don’t even know which is close to good. I can tell you that last one was header, under it div with display: table, and in that div menu and content with display:table-cell, but of course, it only worked in Opera :/

    Again – sorry for my english, and thanks in advance for help.

    edit: this is project (sorry for 1px border on everything). atm it’s working as it should only in Opera 10 for me.


    – Does the page have a centered layout or is it aligned to the left of the body?
    – Do the elements have a fixed width?


    It’s aligned to left
    only menu have fixed width

    sry, i did edited last post, but forgot to paste link :D

    here it is:

    edit: one more thing. check class .jumpright, its float:right, why in FF for example such elements like "Komentarze(15)" are on right, but lower than "Doda?(a): Hyper"?

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