Get help. Give help. A Web Design and Development Community.

Vertical border/line between columns full browser height?

  • # November 27, 2012 at 8:00 am

    Good Morning,

    I’m curious if there is a method using css borders to create a vertical line between grid columns which runs 100% of the browser height?

    Here is reference example, however this website is using a background image instead.

    If there is not a solution to this, could someone please suggest a method using the background image that can act responsive? Thank You.

    # November 27, 2012 at 8:08 am

    There is using the flexbox property but that is so new that browser support is strictly limited to the latest versions only (IE10 / Chrome 23 /FF17) AFAIK.


    You can fake it with faux columns but that’s the only way.

    # November 27, 2012 at 8:17 am

    This reply has been reported for inappropriate content.

    Think this could do the trick perhaps…

    # November 27, 2012 at 8:39 am

    Does that work on a responsive site?

    # November 27, 2012 at 9:59 am

    @NSR About the only solution that is vaguely responsive is to use a background gradient color to fake a column.

    # November 27, 2012 at 10:14 am

    This reply has been reported for inappropriate content.

    Ya im finding some difficulties with this for sure. How would the BG gradient work exactly?

    # November 27, 2012 at 10:17 am

    This reply has been reported for inappropriate content.

    I’m essentially trying to add a 100% height line in the columns of this code pen grid example…

    # November 27, 2012 at 10:35 am

    You just have to define a gradient with color stops in the right place.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.