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
  • 665,005
  • 155
  • 1,345
  • 1,328
Ali
  • 9,177
  • 18
  • 69
  • 102

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,538
  • 1
  • 30
  • 40
corymathews
  • 11,860
  • 13
  • 55
  • 76