FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » HTML Cleanup
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
HTML Cleanup [message #24928] Wed, 18 May 2005 23:17 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
I've recently began using Webdeveloper plugin for Firefox and noticed that FUDforum HTML although 100% w3c complaint, still requires the browser to use the slow quirks renderer. This was caused by the absense of the DTD specification in the HTML header.

On the same note I found a slight incompatibility in the forum's CSS that raises an error for W3C validator.

The fixes to both are available in the patch listed below:
Index: forum.css.tmpl
===================================================================
RCS file: /forum21/install/forum_data/thm/default/tmpl/forum.css.tmpl,v
retrieving revision 1.65
diff -u -3 -p -a -r1.65 forum.css.tmpl
--- forum.css.tmpl      27 Mar 2005 19:23:02 -0000      1.65
+++ forum.css.tmpl      18 May 2005 23:05:27 -0000
@@ -603,7 +603,7 @@ div.ctb table {margin: 0 auto; text-alig
 div.foot { padding: 3px; margin: 3px;}
 div.ip { overflow: auto; margin: 0px; padding: 2px; width: 600px; height: 400px; }
 span.vt { padding-left: 20px; }
-table.icqCP { font-face: Arial, Helvetica; font-size: smaller; border: 0px; }
+table.icqCP { font-family: arial, sans-serif; font-size: smaller; border: 0px; }
 div.pmL { padding-top: 2px; }
 table.ucPW { width: 175px; }
 
Index: header.tmpl
===================================================================
RCS file: /forum21/install/forum_data/thm/default/tmpl/header.tmpl,v
retrieving revision 1.11
diff -u -3 -p -a -r1.11 header.tmpl
--- header.tmpl 25 Apr 2004 20:19:38 -0000      1.11
+++ header.tmpl 18 May 2005 23:05:27 -0000
@@ -10,7 +10,7 @@
 ***************************************************************************/
 
 {MAIN_SECTION: header forum page header}
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <html>
 <head>
 <title>{GVAR: FORUM_TITLE}{VAR: TITLE_EXTRA}</title>



I am not including in the standard distro yet as it would cause every who had modified the forum's CSS and/or header re-apply their changes.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Previous Topic: php.php
Next Topic: Hide "Logged In Users List" for Guests?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 23:00:55 GMT 2024

Total time taken to generate the page: 0.04820 seconds