boogily
12-17-2010, 02:50 AM
I have something I wish to display like (simplified)
<div style="width:608px;">
<tr>
<td width=15 height=15>leftimage.png</td>
<td background=#000></td>
<td width=15 height=15>rightimage.png</td>
</tr>
</div>
But in CSS, I always seem to run into the background color issue. The .pngs have to show transparency. The issue is getting the middle layer to stretch via the width of the parent div as well. Either the background color spans everything, ruining my .pngs or it doesn't span dynamically. Tables would work, but I hate tables. I want fully semantic CSS that works with IE even.
<div style="width:608px;">
<tr>
<td width=15 height=15>leftimage.png</td>
<td background=#000></td>
<td width=15 height=15>rightimage.png</td>
</tr>
</div>
But in CSS, I always seem to run into the background color issue. The .pngs have to show transparency. The issue is getting the middle layer to stretch via the width of the parent div as well. Either the background color spans everything, ruining my .pngs or it doesn't span dynamically. Tables would work, but I hate tables. I want fully semantic CSS that works with IE even.