Do you have a link to a live example of this behavior? Are your XHTML
and CSS valid? Are there other styles inadvertently tied to other <td>s
that are blocking out the #layout background styles?
On Feb 22, 2005, at 6:05 AM, john wrote:
First off, let me say that yes, I'm using a single table for the
layout of this project (my client insists upon it, since he doesn't
trust CSS layout yet...go figure).
I'm having a bit of a mind lapse, I think, because I can't get the
background image to span the table rows.
Here's the XHTML:
<table id="layout">
<tr>
<td id="header" colspan="2"></td>
</tr>
<tr>
<td id="navbar" colspan="2"></td>
</tr>
<tr>
<td id="content"></td>
<td id="sidebar"></td>
</tr>
<tr>
<td id="footer" colspan="2"></td>
</tr>
</table>
What I want is is put
background: #FFFFCC url('images/bass.png') no-repeat right top;
in the "layout" ID so that it can span vertically through the table
rows, but all I'm getting is a bit of it shown in the "sidebar" ID. I
want it see it shown through the "navbar" and "header" ID's as well.
My explanation may be inadequate, but I'm not prepared yet to show
anything online. Can anybody decipher my email and give me some tips
on how to accomplish this? I'm sure it's something outrageously
stupid that I've overlooked.
Thanks.
~john
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************