|
Posted by Ben C on 02/08/07 22:49
On 2007-02-08, vunet.us@gmail.com <vunet.us@gmail.com> wrote:
> On Feb 8, 4:52 pm, Ben C <spams...@spam.eggs> wrote:
>> On 2007-02-08, vunet...@gmail.com <vunet...@gmail.com> wrote:
>>
>> > Hello,
>> > My table's cell has a 100px width. But when I shrink window, the cell
>> > size gets smaller and smaller. How can I avoid this? The code is
>> > below. Thanks you all.
>>
>> Set a width on the whole table instead (about 700px in this case), and
>> not on the <td>s.
>
> if i cannot do it, are there any other options? my fix was inserting
> preset width wiv inside of the cell. thanks.
That sounds just as good or better (because as you say you don't have to
know how many cells there are).
I don't know of any other way, you could experiment perhaps with
table-layout: fixed.
[Back to original message]
|