in reply to Re^2: let's have valid html
in thread let's have valid html

The compatibilty of the site is of the utmost importance to me. Because of this, using style sheets instead of nested ULs isn't going to cut it, because there are still a decent number of browsers that won't render it according to our intent. It's even worse then putting in the li tags -- putting in the li tags will make an extra dot appear on browsers that don't allow us to hide it, but using spans/divs with custom style will loose the indent totally.

...and Newest Nodes very nearly validates if you give the right options. The problems are:

Patches to solve these would be nice, but in these purticular cases, they'd require godly intervention (with the possible exception of the third one, which possibly can be solved purely though a patch of handlelinks settings.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Replies are listed 'Best First'.