I am using TCPDF, which has issues with normal HTML/CSS. It accepts a basic set of HTML/CSS and unfortunately nothing really fancy.
I need a way to create custom dashed lines, as below:

Seeing how CSS only has border property of solid, dashed, or dotted, I am lacking the "other way" of dashed lines. I need to be able to control the length of the stroke, and the length of the in-between space. So for example stroke length of 17, and in-between space of 5.
How can I do this? Can I do this?
So far looking at other questions did not help me. I've read a few questions and none of the solutions so far helped. Either it's too fancy (tcpdf ignores it), or it resorts back to dashes and dotted properties and those are not sufficient for my purpose.




double,groove,ridge,inset, andoutset. There's no way that I know of to easily do this in a way that a PDF creator would also be able to understand. I'd be interested in this, as well. - ps2goat:nth-child, but you could just add classes to alternating cells. vertical borders would be harder than horizontal, too. jsfiddle.net/mntux9ec/1 - Dpeif