-----BEGIN PGP SIGNED MESSAGE----- Moin Marcello,
On Wednesday 02 November 2005 18:36, Marcello wrote: > Tels ha scritto: > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Moin, > > > > On Wednesday 02 November 2005 18:02, Marcello wrote: > >>Tels ha scritto: [snip] > >>>Might be, but I am not generting XML, but HTML... > >> > >>Valid XHTML is also valid XML. > > > > But valid XHTML doesn't work well in the praxis. (It offers nothing > > what HTML can't do, but creates more problems) > > > > And it still doesn't solve the problem, because a: > > > > * div with 1px border > > * table cell with 1px border > > > > look exactly in the browser, but have much different (X)HTML source. > > Testing 'visual equivalency' of two ([x]html|svg|whatever) documents is > unfeasible IMHO. We need a compromise, like deciding to use a div or a > table to produce some visual effect. > > This is required anyway, because while it's true that there are a dozen > ways to generate the same page, they will differ wildly on some > relevant aspects (e.g. browser compatibility, table- or css- based > layout, etc.), so you have to make a decision at some point and choose > one. Well, yes I did. :) The problem arose when I switched from "one table cell per node" to "3x3 table cells per node", and again when I switched theway CSS classes were used and again when I changed them again etc. Each time the source changed, but the basic output remained the same - and yet I had to adapt dozends of test. That was the original problem, and so far I haven't found a way to really avoid it. But the discussion has been interesting :) best wishes, Tels - -- Signed on Wed Nov 2 20:07:47 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "To be beautiful is enough! If a woman can do that well who should demand more from her? You don't want a rose to sing." -- Thackeray -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQEVAwUBQ2kPEHcLPEOTuEwVAQH4Mwf+J8zZ/e7IEOVl0qwRRPCWhQT0UA+NgH4Y P0+WY8cowWbQx23+p6/HAZTuMFOygH8aAfeCioXlbV7OskeI0vD+Zevp0iPhT1uk xVf7McV2yu1qOVDko9zgLr+LrrkMgqUeINPiyqBUCemobKjhyr7c3jX6AfXvz5l5 0UukfGc89y9sSsuxlgVMAMr1RgbekQmcA3sctPiDYVkpHLbvM/I/Gzpi2+hEuDCa JDASjcKKxYHO8NMD25ba4Wxttu/0C8Gh+h15XY+zgNFAP/p5pRFeF62qXz1m5jcg thYUO+QjBLd5hmuusoH6SNNGhX7rv6ltZD2wtomuY5GGbO0VVrW/XQ== =JwwY -----END PGP SIGNATURE-----