{"id":666,"date":"2017-02-15T23:14:50","date_gmt":"2017-02-15T23:14:50","guid":{"rendered":"http:\/\/www.watt-evans.com\/blog\/?p=666"},"modified":"2017-02-15T23:17:11","modified_gmt":"2017-02-15T23:17:11","slug":"lookin-good","status":"publish","type":"post","link":"http:\/\/www.watt-evans.com\/blog\/2017\/02\/15\/lookin-good\/","title":{"rendered":"Lookin&#8217; Good"},"content":{"rendered":"<p><i>Warning:\u00a0 Moderately technical post about coding webpages.<\/i><\/p>\n<p>One thing about relocating my website &#8212; it forced me to actually <i>look<\/i> at it all.\u00a0 (There was some code I had to change on Every. Single. Page, because SFF Net and my new host handle certain things differently, and I had a little ad for SFF Net at the foot of almost every page.)<\/p>\n<p>There are 446 HTML pages on watt-evans.com; I didn&#8217;t get a count for ethshar.com or misenchantedpress.com, but there are lots there, too.\u00a0 (Don&#8217;t bother trying to find and read all 446; some are just redirects from URLs I don&#8217;t use anymore.)<\/p>\n<p>I had been through all of it a couple of years ago, updating everything, filling in placeholders, and making sure it was all mobile-friendly, but a lot of that was pretty rushed, just making sure everything worked and all the text was there.\u00a0 I was nominally using HTML 5.0 and CSS 3.0, hand-coding everything (except blogs, guestbook, etc.).<\/p>\n<p>Well, this time through I noticed that it wasn&#8217;t actually all HTML 5\/CSS 3 compliant.\u00a0 I hadn&#8217;t bothered to learn <i>all<\/i> the differences between HTML 4.1 and HTML 5.0, and I never really learned CSS properly in the first place, just sort of picked it up as I went along.\u00a0 (When I started The Misenchanted Page I think the standard was HTML 1.1, and CSS hadn&#8217;t been invented yet.)\u00a0 A couple of people pointed out glitches and infelicities to me when the relocated stuff all went live (my thanks to them!), and when I fixed those I read up on the new standards.<\/p>\n<p>They&#8217;re different.\u00a0 A lot of my favorite old tricks don&#8217;t work right under them.\u00a0 I&#8217;m still using tags that either aren&#8217;t allowed under HTML 5, or don&#8217;t work the same as they used to.<\/p>\n<p>So I need to go through everything <i>again<\/i> and fix it, though it&#8217;s all minor stuff, nothing urgent, and most browsers will handle the old stuff just fine.<\/p>\n<p>So far I&#8217;ve fixed a couple of pages &#8212; and I think they look better with the corrected code.\u00a0 Here&#8217;s <a href=\"http:\/\/www.watt-evans.com\/spiffy.html\">an example<\/a>.\u00a0 And the new standards provide greater control (which was sort of the point).<\/p>\n<p>So now I can distract myself from actually writing stuff even more, by tinkering with webpages all over again!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning:\u00a0 Moderately technical post about coding webpages. One thing about relocating my website &#8212; it forced me to actually look at it all.\u00a0 (There was some code I had to change on Every. Single. Page, because SFF Net and my new host handle certain things differently, and I had a little ad for SFF Net&hellip; <a class=\"read-more\" href=\"http:\/\/www.watt-evans.com\/blog\/2017\/02\/15\/lookin-good\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-generalities-rants"],"_links":{"self":[{"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":3,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":669,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions\/669"}],"wp:attachment":[{"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.watt-evans.com\/blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}