Also sprach Tei:
I've spent
the last few days analyzing Wikipedia's HTML code for
images and captions. The current code is quite good, but verbose and
it has redundancies. Here is a proposal that describes how to simplify
and improve the code:
http://www.princexml.com/howcome/2009/wikipedia/image/
The proposed solution reduces the number of elements from 10 to 6 and
the code size is reduced by more than 50%.
neato!,
this article could have been better with <s>some</s> more study of
compatibility with old browsers.
I've tested in IE6, IE7, IE8, Opera 9, FF2, FF3.
The problems I have found are noted in the paper:
- IE6 doesn't support attribute selectors, but the problems i minor
- only Opera suport the 'content' propoerty as per CSS3, so it's not
quite ready for use
Cheers,
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome(a)opera.com
http://people.opera.com/howcome