|
-
Nov 14th, 2008, 05:35 PM
#1
Thread Starter
Hyperactive Member
HTML Table - width of cell
Hi,
I have this code:
Code:
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="62"><img src="../Site web/images/greenbar.png" width="62"></td>
<td style="background-image: url(../Site web/images/graybar.png); background-repeat:repeat-x;"></td>
</tr>
<tr>
<td colspan="2">This is my content</td>
</tr>
</table>
The problem I have is that I can't have my right-cell of the 1st row to expand the whole screen.
This table gives something like that
-----------
|..........|..|
-----------
|.............|
-----------
I want something to look like this:
-----------
|..|..........|
-----------
|.............|
-----------
The only size I know is the 1st row, 1st column cell image which is 62 px.
The 1st row, 2nd cell should resize depending of the browser/resolution.
If I remove the 2nd row, it works, but when I add the 2nd row, then I just can't put a fixed size to my first cell.
I hope it is clear.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|