- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Fri, 7 May 2004 19:17:38 -0700
- To: <www-style@w3.org>
See, examples: > I believe it can, but maybe I'm misunderstanding what the above means. Layout: <p>password:<input style="width:80%%"></p> could be reproduced pretty close by <table> : <table> <tr> <td>password:</td><td width=80%><input style="width:100%"></td><td width=20%> </td> </tr> </table> Or in XUL: password:<input flex="8" /><spacer flex="2" /> > Again, I don't completely understand what the above means, but if it's > centering an object vertically and horizontally within a > container, then sure that's trivially possible with the XUL box model > without using spacers. Yep, it is centering, but what about this: <DIV style="margin-top:10%%; margin-bottom:50%%">close to the top</DIV> <DIV style="margin-bottom:40%%">close to the middle</DIV> In XUL you will need three spacers here. Right? (I am not a practical XUL programmer) Andrew Fedoniouk. http://terrainformatica.com
Received on Friday, 7 May 2004 22:17:58 UTC