Conflicting table cell widths

John Bradford john at grabjohn.com
Fri Feb 13 07:34:40 GMT 2004


Quote from Paul Sprakes <pauls at sprakes.co.uk>:
> Could someone tell me what should happen in the following case:
> 
> <table width="200" border="1">
> 	<tr>
> 		<td width="100">A</td>
> 		<td width="100%">B</td>
> 	</tr>
> </table>
> 
> What width in pixels should cell B be rendered at? In Konqueror it attempts to 
> take 200 pixels and squashes cell A. Is this correct or should it be 100 
> pixels?
> 
> I've looked in the specs at w3c but can't seems to find anything.

I could be wrong, but I always believed that you should allocate the
pixel values first, then the percentage and fractional values out of
what's left...

John.




More information about the kfm-devel mailing list