Forums

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

Home Forums CSS white space between text and footer

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #264227
    Laszlo
    Participant

    Hi,

    I have a problem with erasing the white space between the text and footer.

    Please help.

    https://codepen.io/Laszlo226/pen/gowWYV

    #264267
    JeroenR
    Participant

    Hm, sorry to say, but you’re using elements and styling not the way they’re supposed to be used.
    The thing that is happening in your case is that the footer is positioned at the place where it should be when the DIV and P with the classes gr, gr2 and gr3 wouldn’t be positioned like they are now, but just at their static position. So 3 times 400px lower is the place where the footer is at right now.

    If you want to move the footer up, you’ll have to find another way to create the 3 columns. And there are multiple ways to achieve that, in random order for example: table, inline boxes, floating boxes, flexbox.

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