What is the smartest way to format/style tables, so... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the smartest way to format/style tables, so...

they correctly display nets of dice. I'm not 100% happy with how it turned out here: https://code.sololearn.com/WL7siAW3zo2A Using CSS to "manually" remove certain borders does not quite cut it either, as some cells won't look square anymore and my code is already messy enough. Am I missing something obvious or should I go straight to SVG to do it properly?

30th Mar 2017, 8:36 PM
Tob
Tob - avatar
1 Answer
+ 1
The smartest way is CSS. The only other way is to add a "style" attribute to your table tag like this: <table style = your CSS> Better go straight to SVG or Canvas, as you said
1st Apr 2017, 4:19 PM
MisterMM23