Pigs & Fishes >
Natter >
What's Up DOCTYPE?
This Section (Natter):
Index |
Who's Who |
Previous |
Next |
Latest
Other Sections:
Links (Weblog) |
Filks |
Good Stuff |
Geek |
Games |
Misc.
Neep-Neep Warning: Today's entry has some web geekery in it.
I finally put my new pages up on the web last night. Found an annoying bug in Userland Frontier's HTML suite while I was doing it, though. I suspect that the problem lies in suites.html.ftpTable; that the line...
if typeOf (adr^) == tableType
...needs to be changed to...
if not typeOf (adr^) == tableType
I've posted as much to the Frontier-Web mailing list; now I'll wait and see if more technically adept heads than mine agree.
I've also been trying to get my pages validated. This is something silly people like me, who are enamored of the idea of web pages being viewable by more than one browser, do to see if the HTML they've written conforms to an existing standard. There are web site validators on the web; feed an URL into their CGI, and it spits back a report telling you if the site code conforms to whatever DTD they're using. The good ones let you pick from an assortment of DTDs.
Much to my frustration, I've been unable to find a DTD (that's Document Type Definition) that fits what I had thought was fairly conservative code for 1997. The 3.2+ DTD (also known as "Cougar") almost fits the bill. Web Techs returned only four errors on my home page:
nsgmls:0:28:81:E: there is no attribute "TOPMARGIN" nsgmls: 0:28:96:E: there is no attribute "LEFTMARGIN" nsgmls: 0:32:12:E: there is no attribute "WIDTH" nsgmls: 0:43:22:E: there is no attribute "WIDTH"
The "TOPMARGIN" and "LEFTMARGIN" refer to proprietary attributes for the <BODY> tag, created by Microsoft for Internet Explorer. I'm willing to do away with them; Style Sheets make them obsolete anyway.
The other two errors are due to my specifying WIDTH attributes in two of the <TD> tags in the table. This is the frustrating part. WIDTH is accepted as an attribute of <TD> in "Wilbur," the 3.2 DTD, but not in the 3.2+ DTD. I can't use 3.2, because that doesn't accept the CLASS attribute, which is integral to a flexible implementation of Style Sheets. It also had trouble with some of the attributes in my LINK tags. Nothing much to do about it except curse Netscape for fucking up HTML. It may not solve anything, but it feels good.
The next entry describes how I solved the validation issue.
<< 27 Mar 1997 |
1 Apr 1997 >> |
Pigs & Fishes >
Natter >
What's Up DOCTYPE?
This Section (Natter):
Index |
Who's Who |
Previous |
Next |
Latest
Other Sections:
Links (Weblog) |
Filks |
Good Stuff |
Geek |
Games |
Misc.