|
Posted by richard on 10/24/07 16:59
On Oct 23, 2:23 am, jodleren <sonn...@hot.ee> wrote:
> Hi!
>
> I have problems with the following code in IE, but it works well in
> Firefix.
>
> <table border=1>
> <tr>
> <td>a b</td>
> <td width=25>c</td>
> </tr>
> <tr>
> <td colspan=2>The red fox jumped over the lazy dog</td>
> </tr>
> </table>
>
> Idea: the top row, cell 1 - as wide as possible, cell 2, specified
> width - (or as short as possbile if that can help. Setting cell one
> just to take up all remaining space is ok too)
> IE cannot handle this. Any suggestions?
>
> WBR
> Sonnich
width=25? 25 what? Pixels or percent?
width="25" equals pixels where as "25%" defines percent.
First, you would need to define width in the table tag.
<table width="100">
Otherwise it assumes 100%.
Defining the width of only one cell would play havoc on the others as
data changes within them.
Define the first as say "50" then the second as "25", leaving the 3rd
to use what ever is left.
At least this way the cells would keep some sort of order in them.
Navigation:
[Reply to this message]
|