Vertical line spacer between two divs

前端 未结 7 528
刺人心
刺人心 2021-02-04 02:58

So I have two divs. One left div with navigation links and one right div that populates with content depending on what link you click on the left. I would like to have a verti

7条回答
  •  醉梦人生
    2021-02-04 03:53

    i once solved this by using a background image repated on the y axis. Just create it as wide as your page and not very tall, maybe 10-20 pixels. and then just repeat it downwards. Kind of cheating maybe, but it works in some cases :p

    One example of how I did it you can see on this website.

提交回复
热议问题