Issue with applying dotted border to cells in table design

后端 未结 9 1143
不知归路
不知归路 2021-01-12 07:48

Here\'s my fiddle:

http://jsfiddle.net/gFA4p/84/

In this screenshot, the green lines represent where I\'m trying to apply dotted lines.

9条回答
  •  感动是毒
    2021-01-12 08:12

    Here is my fiddle:

    http://jsfiddle.net/gFA4p/109/

    enter image description here

    All I did was add

    .dottedBottomBorder {
        border-top: none !important;
    } 
    
    .dottedRightBorder + .dottedBottomBorder {
        border-top: 1px solid black !important;
    }  
    

    to the bottom of the style sheet, as well as add the dottedBottomBorder class the four cells on the right side of each pick column.

    The problem you have is the bottom cell's solid border is overlapping the top cell's dotted border. This alleviates that.

提交回复
热议问题