What is the CSS of equivalent of colspan and rowspan?
I tried row-span and col-span, but they don't work...
Just curious.I don't think there is such a thing...Or better yet, how do I use CSS to span content into two table cells instead of just one table cell?row-span and col-span are structural attributes, not presentational ones, so their is no css equilivent.
You could muck around with overflow: visible; but think about wether your table would still make sense.Well, the the thing is, I was messing around with the CSS tablss model, and it works pretty much like a table, except that I cann't do the rowspan or colspan thing...Ah, you're trying to replace a table? I'd have to see the context, but clear: both; is likely to help.Ah, you're trying to replace a table? I'd have to see the context, but clear: both; is likely to help.
Replace: not exactly. I'm just using the CSS tables model to replicate Table behavior. I'll try that.If you are creating a table with <table>...</table> tags, then colspan and rowspan are still the valid and correct way of accomplishing those structures. If you're talking about some other structure using CSS to make it look like a table layout, then I think we need more info about what exactly you want to do.
I tried row-span and col-span, but they don't work...
Just curious.I don't think there is such a thing...Or better yet, how do I use CSS to span content into two table cells instead of just one table cell?row-span and col-span are structural attributes, not presentational ones, so their is no css equilivent.
You could muck around with overflow: visible; but think about wether your table would still make sense.Well, the the thing is, I was messing around with the CSS tablss model, and it works pretty much like a table, except that I cann't do the rowspan or colspan thing...Ah, you're trying to replace a table? I'd have to see the context, but clear: both; is likely to help.Ah, you're trying to replace a table? I'd have to see the context, but clear: both; is likely to help.
Replace: not exactly. I'm just using the CSS tables model to replicate Table behavior. I'll try that.If you are creating a table with <table>...</table> tags, then colspan and rowspan are still the valid and correct way of accomplishing those structures. If you're talking about some other structure using CSS to make it look like a table layout, then I think we need more info about what exactly you want to do.