Forums

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
    Posts
  • #35400
    SachaG
    Member

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

    http://elliotjaystocks.com/

    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?

    #91593

    You could use pseudo-elements in a similar fashion to this: https://css-tricks.com/9443-full-browser-width-bars/

    #91598
    SachaG
    Member

    That worked great, thanks!

    #91644

    No worries!

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