Splitting divisions like in rowspan

R

richard

In tables one can easily split cells to span across columns or rows.
In divisions, column spanning is fairly easy.
So how the hell does one span a row?

Given your standard 3 column division you have this problem:
In column 1 the data cell needs to be as high as two data cells in
column 2 and 3.

as in a table one would simply use rowspan=2.

I can possibly see using two boxes and floating those.
Is there a simpler way?
 
J

Jonathan N. Little

richard said:
In tables one can easily split cells to span across columns or rows.
In divisions, column spanning is fairly easy.
So how the hell does one span a row?

Given your standard 3 column division you have this problem:
In column 1 the data cell needs to be as high as two data cells in
column 2 and 3.

as in a table one would simply use rowspan=2.

I can possibly see using two boxes and floating those.
Is there a simpler way?

Haven't you ask this several times? As I recall in each instance a table
was more appropriate for the data.


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>template</title>

<style type="text/css">

div.momma { background: #eee; width: 20em; overflow: auto; }
div.momma div { width: 10em; float: right; clear: right; }
div.momma div.jonnie { background: #ffd; }
div.momma div.suzie { background: #dff; }

</style>

</head>
<body>

<div class="momma">
<div class="jonnie">I'm a an example child DIV, 'jonnie'</div>
<div class="suzie">I'm a an example child DIV, 'suzie'</div>
This is the containing DIV parent 'momma'
</div>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top