The designers have handed me a page that has 5 different blocks on it in the
center column (in a typical 3 column layout with page spanning headers and
footers).
The blocks have elaborate headers (large images), and small content areas
that will hold little blocks of text.
Currently, I have this done with pixel specific tables within tables within
tables, using the images as backgrounds of the repseective TD's.
It all looks perfect in Mozilla, but I'm having spacing issues with Win/IE
between the blocks (I'm using margins, and empty divs ala <div
style="height: 10px"/> to seperate the blocks).
But beyond that I'm just curious what others are doing for this kind of
layout.
Typical example:
<table style="text-align: left;" border="0" cellspacing="0" cellpadding="0" >
<tbody>
<tr>
<td style="vertical-align: top; width: 191px; height: 65px;"
background="web/cc_letter_heade r.gif">
</td>
</tr>
<tr>
<!-- cc_letter_body. gif is 1 pixel high -->
<td style="vertical-align: top; width: 191px; height: 191px;"
background="web/cc_letter_body. gif">
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 191px; height: 10px;"
background="web/cc_letter_foote r.gif">
</td>
</tr>
</tbody>
</table>
We're coding for IE 5.5+, Mozilla, and Safari if that helps.
Thanx!
Regards,
Will Hartung
(willh@msoft.co m)
center column (in a typical 3 column layout with page spanning headers and
footers).
The blocks have elaborate headers (large images), and small content areas
that will hold little blocks of text.
Currently, I have this done with pixel specific tables within tables within
tables, using the images as backgrounds of the repseective TD's.
It all looks perfect in Mozilla, but I'm having spacing issues with Win/IE
between the blocks (I'm using margins, and empty divs ala <div
style="height: 10px"/> to seperate the blocks).
But beyond that I'm just curious what others are doing for this kind of
layout.
Typical example:
<table style="text-align: left;" border="0" cellspacing="0" cellpadding="0" >
<tbody>
<tr>
<td style="vertical-align: top; width: 191px; height: 65px;"
background="web/cc_letter_heade r.gif">
</td>
</tr>
<tr>
<!-- cc_letter_body. gif is 1 pixel high -->
<td style="vertical-align: top; width: 191px; height: 191px;"
background="web/cc_letter_body. gif">
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 191px; height: 10px;"
background="web/cc_letter_foote r.gif">
</td>
</tr>
</tbody>
</table>
We're coding for IE 5.5+, Mozilla, and Safari if that helps.
Thanx!
Regards,
Will Hartung
(willh@msoft.co m)
Comment