Journal mcgrew's Journal: Well, Most of the mess is cleaned up... 2
I had the HTML and other electronic versions of Random Scribblings done a couple of months ago. I should have uploaded it without an index to test it on my phone, and I should have examined it more closely on the computer. Some of the code was REALLY bad.
One page, the longest, still wobbles in Android Firefox on a phone, but is fine in the phone's built-in browser. I haven't tested it in Opera or Chrome.
I went to the pawn shop and bought a tablet just to see if it was okay on a tablet. It isn't, at least on a Samsung Galaxy 3 tablet; the text is teensy, more so in Firefox than its native browser but hard to read anyway. I guess I need to google a little; in the computer if the text is too small I can hit Ctrl +. The reverse pinch thing on a touchscreen isn't good enough.
Anyway, one page is very long and has quite a bit of code, and looking for clues of where the errors were by examining the page in a browser, how I debugged back in my programming days, wasn't cutting it. So I ran it through the W3C code validator, and egads! Over 1700 errors and warnings! I settled down a little when I realized all but a half dozen or so were simply the lack of an "alt" tag in images where that tag was not only unnecessary but would get in the blind reader's way; the graphic is a one pixel clear PNG I use for tab stops at the beginning of a paragraph (<img src="tab.png" width="25" height="1" align="left" border="0">).
The first error was from a useful habit I got into back in my programming days: re-using code. Re-inventing the wheel for each wagon you invent is just stupid, so I would simply copy everything above the <body> statement. But the twenty year old doctype was no longer recognized. Some other ancient code wasn't recognized, either.
Well, I'd better get back to work on it... It's here.
ew, that's so 90's (Score:1)
From the bad old days of table-based layouts and spacer GIF's. What's wrong with using something from CSS1 [w3schools.com] to indent paragraphs?
Re: (Score:2)
CSS is to easy to screw up.