55f26c4df30fc7bb7df4b9391bad427b5cd73fdf tdreszer Fri Feb 4 17:11:40 2011 -0800 We should upgrade to doctyype 4.01 strict from 3.2. It does fix atleast one IE problem. But that will require a lot of testing. diff --git src/lib/htmshell.c src/lib/htmshell.c index 0dc8af5..409c397 100644 --- src/lib/htmshell.c +++ src/lib/htmshell.c @@ -349,31 +349,37 @@ if(domain != NULL) printf("domain=%s; ", domain); if(isSecure == TRUE) printf("secure"); printf("\n"); } void _htmStartWithHead(FILE *f, char *head, char *title, boolean printDocType, int dirDepth) /* Write out bits of header that both stand-alone .htmls * and CGI returned .htmls need, including optional head info */ { if (printDocType) +#define TOO_TIMID_FOR_CURRENT_HTML_STANDARDS +#ifdef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS fputs("\n", f); +#else///ifndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS + // FIXME: This should be done and fixes atleast one IE problem (use of :hover CSS pseudoclass) + fputs("\n",f); +#endif///ndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS fputs("", f); fprintf(f,"\n%s%s\n", head, title); fprintf(f, "\t\n"); if (htmlStyle != NULL) fputs(htmlStyle, f); fputs("\n\n",f); fputs("\n",f); htmlWarnBoxSetup(f); }