Posted by dorayme on 02/08/07 22:18
In article
<1170969404.450879.138590@v33g2000cwv.googlegroups.com>,
vunet.us@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.
>
> <html>
You can count the cells across and multiply the number by the
width of each cell, add some px for the borders and let this
guide a min-width setting for a wrapper:
..wrapper {min-width: 780px;}
and in the html
<div>
your table code (which has a white space error in it btw)
</div>
will do the trick in decent browsers.
You can avoid this construction altogether as well. It is almost
invariably better to let the magic of tables do its work, ie. the
cells to be determined by the content... fluidity and
intuitively happy wrapping.
--
dorayme
[Back to original message]
|