C
C
crea7or2012-03-30 02:09:29
css
crea7or, 2012-03-30 02:09:29

Help me start DIVs

Here is a simple table header:

<table cellpadding="0" cellspacing="0" border="0" width="930" align="center">
<tr>
<td rowspan="2" valign="top"><img...></a></td>
<td rowspan="2" valign="top" width="400"> some text </td>
<td valign="top">some other text</td>
</tr>
<tr>
<td><img...></td>
</tr>
</table>


Graphically, it looks like this (indentation is only for clarity):


How can this economy be laid out with DIVs, but cross-browser (that is, so that it works under IE6 :( )?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
crea7or, 2012-03-31
@crea7or

Thank you StackExchange!

<div style="width: 930px;">
<div style="width: 280px; display: inline; float: left;">some text</div>
<div style="width: 400px; display: inline; float: left;">some other text</div>
<div style="width: 250px; display: inline; float: left;">
<div style="text-align: right;">some form<input name="q" size="20"><input type="submit" value="submin"></form></div>
<div style="text-align: right;">some buttons</div>
</div>
</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question