Web Analytics Made Easy -
StatCounter Vertical Lines - CodingForum

Announcement

Collapse
No announcement yet.

Vertical Lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vertical Lines

    Hey there, anyone know how to create a vertical line with css,
    just a basic line you would get from placing <hr> tag in HTML but obviously not horizontal.
    Any tips on altering style, color etc would be sweet too,
    thanks ya"ll.

  • #2
    have two <div> side by side and have one of the div have border-right or border-left in the css

    Comment


    • #3
      You can use border properties of CSS, like border-left and border-right

      Comment


      • #4
        you could also use a table and get rid of all the borders other than the vertical one...

        Comment


        • #5
          If you want something similar to an <hr> tag, why not use <hr> plus some styling?
          Code:
            <hr class="Vertical">
            .Vertical {
              width: 1px;
              height: 200px;
            }
          Having said that, I've probably told you more than I know.

          Comment

          Working...
          X
          😀
          🥰
          🤢
          😎
          😡
          👍
          👎