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
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
Comment