|
Posted by Jim Higson on 02/28/06 12:13
Andy Dingley wrote:
> On Mon, 27 Feb 2006 09:51:34 +0000, Jim Higson <jh@333.org> wrote:
>
>>>> http://surfcore.co.uk/forecasts
>>>
>>> That's one of the best pages I've ever seen. Nice...
>>
>>Woot! So all that geeking on the computron wasn't entirely in vain.
>
> A well-deserved W00t! I think indeed. With all the usual rubbish that
> gets posted here it's nice to see a page that looks so good and works so
> well.
> Couple of validation glitches that could be sorted with little effort,
> but I imagine you'd tell me to go and chill my dudes out or something.
Yeah, mostly on pages like http://surfcore.co.uk/forecast/croyde, becuase
<script>s can't be put directly inside a table body. Most of these script
tags are only there to fix in IE the <tr> they succeed.
There isn't a completely satisfactory place to put them. I can't put them
inside the <tr> they fix because then they could be called before it's been
properly added to the DOM, and if I put them in the next row... well...
that seems mixed up and out of place somehow.
I suppose the ones that are just for IE could be hidden with conditional
comments, but that seems like validation for its own sake.
The other non-validating HTML that I know of is on some node pages, like
this:
http://surfcore.co.uk/node/226
Here this is Drupal screwing up when it automatically breaks paragraphs from
the users' input. Short of forcing users to type <p> tags themselves I'm
not sure what can be done about this, but it's on the TODO list somewhere.
The single CSS sheet isn't valid, but only because of hacks to get things
working in IE. Since conforming browsers ignore rules they don't
understand, this shouldn't be a problem.
I wouldn't recomend trying to view the CSS in its 'live' form :)
--
Jim
[Back to original message]
|