Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: How to add vertical lines in HTML table through CSS?

Discussion in 'Misc WordPress Requests' started by MKDan, Dec 11, 2017.

  1. MKDan

    Guest

    Reply To: How to add vertical lines in HTML table through CSS?, by MKDan

    Thanks bemdesign and Peter Hardy-vanDoorn for the responses.

    I only tested the below code and it works fine. I changed the color to #eeeeef since it is mild.

    If anyone want to use,

    /* Minified version of the code
    ——————————————— */

    th:not:)last-child), td:not:)last-child) { border-right: 1px solid #eeeeef; }

    —————————————-

    /* Larger version of the code
    ——————————————— */

    th, td {
    border-right: 1px solid #eeeeef;
    }

    th:last-child, td:last-child {
    border-right: none;
    }

    ——————————————

    Reply To: How to add vertical lines in HTML table through CSS?
     
    #1

Share This Page

Monarch Social Sharing Plugin