|
Posted by Neredbojias on 10/17/07 15:30
Well bust mah britches and call me cheeky, on Wed, 17 Oct 2007 12:47:41 GMT
Alan Searle scribed:
> Hi everyone,
>
> I have a table which, in order to line up with other information, needs
> to have very exact column widths.
>
> So far I have implemented the following with normal HTML tables ...
>
> <td align="RIGHT" width="77">
>
> ... which works OK most of the time.
>
> However, sometimes the data contained in the table overshoots the column
> width and the table starts to 'distort' which completely messes up my
> presentation.
>
> Maybe someone has a suggestion for setting the column widths exactly?
> Here I am wondering if there is a relationship with the declared table
> width? Or whether there is a setting that can be switched on or off to
> force exact width?
>
> Many thanks for any tips you can give me.
From my experience, table cells will always expand to content - at least in
some browsers - no matter if the css attribute table-layout:fixed; is set
or not.
One thing you can try is a div (inside the cell) set to the appropriate
width and overflow:hidden;
--
Neredbojias
Half lies are worth twice as much as whole lies.
[Back to original message]
|