Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Help with a table using Strict HTML
Re: Help with a table using Strict HTML
I think that I answered my own question. I tried colgroup/col with the info
inserted after the <table> and before the <tr> as follows:
Seems to work. Please feel free to comment.
>I inherited a simple page that needs to be Strict HTML and I'm not very
>familiar with this standard. What I'm trying to do _should be_ pretty
>simple so I hope someone can point me in the right direction.
> I'm trying to make a table with 2 columns split down the middle - simple
> enough. In the past, without Strict HTML, I would just specify the width
> of each 'cell' as 50%, but width isn't allowed in a <td> under Strict
> HTML. Sometimes I would make these 2 cells 45% with a 10% cell between
> them to make the spacing more readable. If I just remove the 'width'
> attribute', the browser splits the screen width differently depending on
> what's in each cell. Unfortunately, I need to match a format where the
> table is split down the middle.
> Is there a simple way to control the width of the columns in my tables
> when using strict HTML??
> many thanks, BT