bissatch@yahoo.co.uk wrote:
>
> How do I set the width of each column within a table? Would I use the
> auto value for width? I tried to do:
>
> #mytable td { width: auto; }
> ...but no luck.
>
What luck are you hoping for?
There are a number of ways to set the width of columns. The one you show
is one but you chose the default for <td>. Using a % or a fixed width
value to set the (minimum) width for all columns in #mytable.
You could use a class to define a width.
There is <colgroup> to set the width for individual columns, or groups
of columns.
You could use the "width" attribute for the <td> element.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|