Thursday, 8 March 2018

Re: Page which doed not display properly

In article <df0993d556.jim@6.abbeypress.net>, Jim Nagel
<netsurf@abbeypress.co.uk> wrote:

[Snip]

> Would be nice to add a colour for <script>... </script> to the HTML
> mode in StrongEd so that JS would immediately jump out at you in a
> page where "the html is terrible to decipher".

A workaround - to make your own scripts stand out - is to put them in
HTML comments per ye olde stylee:

<script>
<!--
document.write("Happy Mother's Day!");
-->
</script>

With the luxury of a PC at my elbow, I tend to throw recalcitrant pages
at it rather than try and decipher them. WYSIWYG page design tools, such
as WordPress used to construct Richard's page or online tools such as Wix
often produce a mass of unformatted garbage; even though this page could
be created with a half-dozen DIVs, the 'info panel' and 'menu' both
require either CSS, JS or both that NetSurf cannot render.

Such a page also fails google's mobile test. Quelle surprise.

> I think somebody is working to update that mode but I can't remember
> who. Is it you, Tim?

Not me, no, sorry.

T

--

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

No comments:

Post a Comment