J
JezB
I have a DIV whose contents varies in size according to data. How can I size
the DIV precisely to fit it's contents ?
the DIV precisely to fit it's contents ?
Eliyahu Goldin said:Ok, I am taking a risk of getting into your "Block sender" list.
If you use a table, you can put the content you want to be inside the div
into a td. You can format td itself instead of div or you can put a div into
the td with width and height=100%. The td will adjust its size according to
data.
If you don't want table-related suggestions anymore, put a note in your
messages "no tables please".
Eliyahu
JezB said:Good idea! But that only seems to work for height, the width of my DIV seems
to default to the full browser width.