Re: Tables
by Lori Eldridge <lorield(at)uswest.net>
|
|
Hi Andrew and all.
I have been experimenting with columns in Tables. I realized that if
I want it to break up into several columns I have to provide those
columns somewhere. Here is a sample of what I'm talking about:
http://www.terrytrueman.com/ttlit/
In the above example I have two tables one above the other (not
nested) so the page will load quicker. Each table contains menu items
on the left and 3 columns on the right and 5 rows deep. (I couldn't
get the text and pictures to line up correctly without an extra
column.) Then at the bottom row of each table (on the right side of
the menu) I put a row of
<.td> <./td> <.td> <./td> <.td> <./td>
i.e., the three columns. This takes up extra space at the bottom of
the table but I couldn't figure out another way to do this. If
someone has a better idea, please let me know.
If you look at the table it has the menu column on the left and 3 on
the right with the lst column after the menu (1st row) spanning two
columns and just the oppose for 2nd row. Then 3rd row spans all
columns, and same for the 4th with the 5th row containing the empty
colums as designated above.
Feel free to utilize my code if you want. Fuzzy may be right about
browsers not spaning anything more than 3 columns but you might
experiment with doing the same thing I did above for 17 columns, but
remember you may have to tell some of your data to span x number of
columns.
BTW, I also had to insert rowspan=5 also to get the menu to go down
the left side of the 5 rows.
Lori
>Whoops. Of course, it's all obvious after the fact.
>
>Thanks,
>
>Andrew
>----- Original Message -----
>From: "Mike O'Lary" <ctfuzzy(at)canopy.net>
>To: "Andrew Angelopoulos" <angelopoulos(at)csi.com>; <hwg-basics(at)hwg.org>
>Sent: Tuesday, December 12, 2000 9:00 AM
>Subject: Re: Tables
>
>
>>
>> Well Andrew, for starters you only have THREE columns in the table.
>>
>> Asking the browser to "properly" interpret a col span definition of "15"
>is
>> a bit much. For that matter, asking it to render any definition greater
>> than THREE is asking a bit much of the browser.
>>
>> HTH,
>> Fuzzy.
>>
>>
>> At 08:30 AM 12/12/00 -0600, Andrew Angelopoulos wrote:
>> >(Resent. Sorry if this is the second time, but I never saw the first one
>> >appear)
>> >
>> >Help. This is making me nuts!
>> >
>> >What am I doing wrong?
>> >
>> >Look at the sample below and find the table data with the letter "M" If
>> >colspan is missing or set to 1 is looks like colspan is set to 8 or 9. In
>> >IE, if cellspacing is set to 3 it works just fine. If I set COLSPAN to 2
>it
>> >works just fine in IE and NN (regardless of cellspacing setting). What is
>> >going on????
>> >
>> >Andrew
>> >
>> >btw- there are 17 cols (I've tried using the same and different number of
>> >cols in each row--same result).
>> >
>> ><HTML>
>> ><BODY>
>> ><TABLE align="center" cellspacing="0" cellpadding="0" border="1">
>> ><TR>
>> ><TD colspan="15">XXXXXXXXXXXXXXX</TD>
>> ><TD colspan="2"> </TD>
>> ></TR>
>> ><TR>
>> ><TD colspan="7">1234</TD>
>> ><TD colspan="1">M</TD>
>> ><TD colspan="9">LAST</TD>
>> ></TR>
>> ></TABLE>
>> ></BODY>
>> ></HTML>
>> >
>> >
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA