tables & cells annoyance...

N

neutrino

Tables and Cells....
I'm placing a Table across the page, then insert columns,
the columns devide themselves evenly across the Table,
if I need more I can devide cells into two,...

Now why is it - if I then insert an image into a cell/column,
the cell/column blows out much larger than required to contain the
image?!!?
width of image is 240 pixels.... the cell - regardless of whether I
leave it as is
or specify it also to be 240 pixels - blows out to what appears to be 4
times the image width!.
How do you set an image into a cell - and have the cell remain no
greater a size than required to hold the image. why is this blowing
out to 4 times wider than required?
I can work around it eventually - but I'm sure there must be a simpel
basic way of preventign the cell size from blowing out!
Many thanks.
 
R

Ronx

Unless you explicitly give a cell a size (width) the cells in a row will
resize themselves in proportion to their content. In your case while
empty the cells are all the same size, add a (relatively) large image in
one cell results in one very large cell containing the image, and
several very small cells containing practically nothing (usually a
single & n b s p ;). As content is added to the other cells, the cell
sizes will even out, but still in proportion to the content. Use cell
properties to set cell sizes.

It is more complex than that in a multi-row table, since a column of
cells must have every cell the same width, so every row must be taken
into consideration.
 
M

Murray

Or, don't use cell sizes at all, and let your tables be shaped by their
contents. It works pretty well.

After all, cell dimensions are only a recommendation not a requirement (as
far as the browser is concerned), and they are only MINIMUM dimensions at
that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top