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

Home Forums CSS Centered layout with 100% left padding

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

    I really like Elliot Jay Stock’s new blog’s layout:

    As you can see, the left part of the content column stretches out all the way to the edge. He achieves this effect by using percentages to make sure the column fills 100% of the window.

    But how could you achieve the same effect with a fixed width central column?


    You could use pseudo-elements in a similar fashion to this:


    That worked great, thanks!


    No worries!

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