Forums

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

Home Forums CSS Content div not full size of page

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

    Hi

    I have a page that loads data dynamically for a given city. If there isn’t enough data for that city to fill the content div, the footer is rendering in the middle of the page. I have the content div set to height: 80% and body height: 100% but it’s still not working. Any tips?

    Here’s an example: http://peoloom.ee/EN/tartu/

    Thanks

    #83736
    Peoloom
    Member

    Thanks, that worked. But now all of my divs containing h2 elements are twice as tall as they used to be. Is there any sizing I need to adjust somehow?

    #83740
    avkash4n4u
    Participant

    Hi Peoloom,
    Here is the another example…. may this will help you











    Middle









    #83756
    stevendeeds
    Member

    are the divs twice as tall? or the h2 text? if your divs are twice as tall, try styling your h2 elements line-height

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