I am having trouble getting the right set of DIV's for what I have in tables. Apparently, the table version doesn't "scale" or resize nicely.
I, the developer, am old school, so I use Tables (the parts of my brain that work, know how to logically format them), but my wife, the designer, like's and uses DIV's (but fully understands tables).
I don't really use DIVs much, so I don't really like them. Add to the that the fact that some users really abuse DIV's and absolute them all over the show to the extend that you cannot figure out your uncle from your aunt. I recently had a very heated discussion with another SO user regarding DIV vs. HTML - he was right (but I was also right).... DIV = WORD, TABLE = EXCEL...
The sample below shows what I have done using a table. No fancies, but it is obvious to see what the "blocks" must look like. For me, the big issue is I cannot see any clear grouping, whereas the tables allow me to use rowspan and colspan to group, but still cheat. The other big problem is the rows won't really resize or scale, and will stay the same height with tables - whereas apparently DIV's won't do that. Obviously the vertical lines must stay grouped - and NO-NO absolute.
Table Code as follows:
<html>
<head/>
<body>
<table style="width:100%">
<tbody>
<tr>
<td colspan="3" style="width:66.7%">
<div id="TopSlidePane" runat="server" style="border:5px solid black;"/>
</td>
<td rowspan="3" style="width:33.3%;background-color:blue;height:100%;">
<div id="EventDiv" runat="server" style="border:5px solid black;height:100%;"/>
</td>
</tr>
<tr>
<td rowspan="2" style="background-color:purple;height:100%;">
<div id="PolDiv" runat="server" style="border:5px solid black;height:100%;"/>
</td>
<td rowspan="2" style="background-color:turquoise;height:100%;">
<div id="ResourceDiv" runat="server" style="border:5px solid black;height:100%;"/>
</td>
<td style="background-color:purple;">
<div id="TelDiv" runat="server" style="border:5px solid black;"/>
</td>
</tr>
<tr>
<td style="background-color:lime;">
<div id="CalDiv" runat="server" style="border:5px solid black;"/>
</td>
</tr>
<tr>
<td style="background-color:orange;">
<div id="ResDiv" runat="server" style="border:5px solid black;"/>
</td>
<td style="background-color:purple;">
<div id="EduDiv" runat="server" style="border:5px solid black;"/>
</td>
<td colspan="2" style="background-color:lightgreen;">
<div id="VacDiv" runat="server" style="border:5px solid black;"/>
</td>
</tr>
<tr>
<td colspan="4">
<table style="width:100%">
<tbody>
<tr>
<td style="width:40%;background-color:red;">
<div id="AmbDiv" runat="server" style="border:5px solid black;"/>
</td>
<td style="width:60%;background-color:aquamarine;">
<div id="GalDiv" runat="server" style="border:5px solid black;"/>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
Thanks in advance and holler if I have missed some pertinent info.
For Ref: Now in jsfiddle. To truly appreciate, it will be better to see it in an offline version that you can resize at will.