0

I'm writing a CSS table (via display: table;) and I need row with 3 columns and the next row to have 100% width and so on. Result should seem like this:

+---+---+---+
|   |   |   |
+---+---+---+
|           |
+-----------+
|   |   |   |
+---+---+---+
|           |
+-----------+

I'm trying to do that with colspan but I haven't found how to do that. Is it even possible ?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Stalky
  • 121
  • 6
  • I rode the topic HTML colspan in CSS, but it didn't help me. I can't use caption. – Stalky Feb 16 '16 at 10:01
  • Tables are structural elements and just because using colspan changes its appearance does not mean it's not. CSS is used to style elements and not change the structure. So this would not work. – osanger Feb 16 '16 at 10:15

0 Answers0