Is there a way to imitate table rowspan behavior with divs (not with a table)?
Something like this:
+---+--开发者_运维百科--+
| | B |
| A +----+
| | C |
+---+----+
Thanks, Daniel
It depends on your div structure. For example you can something like that: http://jsfiddle.net/avall/5ky5b/
Using floated divs and smart use of background can make this effect.
using css rules display:inline-block may help you too
.cell{
zoom:1;
vertical-align:top;
display:-moz-inline-box;
-moz-box-orient: vertical;
display:inline-block;
*display:inline;
}
then specifying width and height you should be able to do what you want. This is not the best or worst solution just another way to go
精彩评论