- From: Simon Brooke <simon@jasmine.org.uk>
- Date: Tue, 18 May 2004 10:02:42 +0100
- To: enceladus@warpmail.net, www-jigsaw@w3.org
-----BEGIN PGP SIGNED MESSAGE----- On Tuesday 18 May 2004 00:23, enceladus@warpmail.net wrote: > Hello everyone, > > I really enjoy the HTML validation feature at http://validator.w3.org/ > but I have a question about a supposed-error I have in my code: > > 1. Line 38, column 27: there is no attribute "height" > > <table width="100%" height="100%" border="0" align="center" > cellpadding="0" > > Apparently it thinks percentages for height isn't legal in XHTML 1.0 > Transitional. Why shouldn't it be? 'Height' isn't legal for the table tag. It never has been legal. Because tables are for tabular data, not for layout. If you want to do layout, use divs. Cheers Simon - -- simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/ ;; when in the shit, the wise man plants courgettes -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBQKnRMnr1UrYJMbiJAQF+jwP/dQWpklZvh1Jw3QeFYAYANpPHFmF8CwqJ 4CYl/PRimiuICE1DVle5PEBDsPrsNvurirxlEBFcJpTxwoQy3Wqt9YlLasD1EP5s lkz5w48c4rlua0q9NDLayt+UlSmU8NEN5ko1sD1r9v3CsI7dWxGHNL4sg0EE0KfJ kvCwBrgoOUc= =o8fM -----END PGP SIGNATURE-----
Received on Tuesday, 18 May 2004 05:03:15 UTC