Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: let's have valid html

by theorbtwo (Prior)
on Nov 17, 2004 at 20:39 UTC ( [id://408571]=note: print w/replies, xml ) Need Help??


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:

  • Everything/HTML.pm using HREF instead of href (one occourance).
  • Problems caused by an out-of-date CGI.pm (13 occourances). (Not using XML empty-element syntax where approps, not quoting attributes, and writing POST instead of post.
  • merlyn putting in literal character 149s into node titles, which are not escaped, and aren't valid characters in, well, anything. (Three occourances as I write this.)

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'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://408571]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found