0

I want to use CSS level 2.1 to achieve the same effect as XHTML 1.0 does with the attributes rowspan and colspan, but using only CSS.

I tried to figure out a way and did some research, but couldn't find one. I don't want to use CSS level 2 or CSS3.

Can anyone can point me to some source for all the CSS level 2.1 specifications, or tell me what they use for CSS level 2.1 to emulate rowspan/colspan?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Ali
  • 9,997
  • 20
  • 70
  • 105

1 Answers1

2

There is no way to do that in CSS2.1 however in CSS3 you can use multi-columns

So you could define your "table" similar to:

div { column-count: 2; column-width: 200px; }

and then do a columns span with

div2 { column-span: all; }
Arjan
  • 9,784
  • 1
  • 31
  • 41
corymathews
  • 12,289
  • 14
  • 57
  • 77