[GoLUG] Hideous HTML

Ron / BCLUG admin at bclug.ca
Mon Jan 13 21:48:17 EST 2025


Steve Litt wrote on 2025-01-12 22:16:

> There's a simple explanation for this abysmal quality: Back in 2009 I
> was still using those insane WYSIWYG HTML authoring tools.

What's the excuse for the abysmal quality of this site:

> http://444domains.com

?

There's a *lot* more to a good website than W3C validation.





i.e. Why aren't the items aligned in tabular form? The concept is as old 
as the printing press, maybe older.


This get declared in CSS but not used:

> div.row{
> grid-template-columns: 1fr 1fr 2fr;
> margin: 0;
> padding-bottom: 1ex;
> margin-left: 25px;
> }

Changing it slightly fixes that:

 > div.row{
 > display: grid;
 > grid-template-columns: 1fr 1fr 3fr;

Note the 3fr for better spacing IMHO.


Then adjust the text align and it'll look better.



Then there's the DRY (Don't Repeat Yourself) principle - it's still all 
duplicated info instead of having a sortation feature (yes, requires JS, 
makes it less crap and is worth it).




More information about the GoLUG mailing list