View Full Version : Tables - Individual widths in adjacent cells
Brad M
11-06-2002, 10:35 PM
This pic will help
http://www.bigez.ca/5.jpg
I need to make the cells labled "a" 10 pixels wide and the "b" cells 21 pixels wide. However when I open say the top left corner "a" cell, choose cell properties, and set the width to 10 pixels it changes the the "b" and 2nd "a" cell below it to 10 pixels. If I then try to go to the "b" cell below it and make it 21 pixels it will change the two "a" cells to 21 as well.
How can I have it so they won't effect each other and I can set them all independantly.
Thanks.
GWDGuy
11-07-2002, 10:10 AM
use three different tables.. See below set up.. I think this is what you are talking about.
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="10"> </td>
<td> </td>
<td width="10"> </td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="21"> </td>
<td> </td>
<td width="21"> </td>
</tr>
</table>
</center>
</div>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="10"> </td>
<td> </td>
<td width="10"> </td>
</tr>
</table>
Where you have the <td> </td> there should be the code for a space in there i.e. & n b s p ; but the forum has translated it literally into a space, so you cannot see the code. So please make sure you have the no break space code in each table cell or the table will not open up so you can see the cells.
Let us know
Robert
Brad M
11-07-2002, 06:00 PM
Yeah but the problem that arises now is that that's just a small part of a larger table. There is more of the table above, below, and to the right of it. Since I can't figure out how to have 1 table align on the left, and have another table exactly accross from it line up on the right I'm stuck atm. If I try to put in a table to the right of the left side table it just puts it on a new line.
MandyJay
11-08-2002, 02:20 AM
Have you tried making one large table then setting the cells you want to work independently as a single table into a cell of the large table, they would then line up - I tried the link you gave, as I dont really understand what you are wanting to achieve, but it came up as a dead link. Maybe if you let us know the whole layout of your page/tables rather than just segments of it, then with the overall picture we may be able to come up with some other suggestions
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.