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
Switch to threaded view of this topic Create a new topic Submit Reply
HTML Cleanup [message #24928] Wed, 18 May 2005 23:17 Go to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
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
Re: HTML Cleanup [message #25092 is a reply to message #24928] Wed, 25 May 2005 13:43 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Hi,

Thank you for making this available. I've applied your patch to my forum and it seems to we working great!

It's a pity we don't have a repository of patches and mods that can be installed on top of FUDForum.

Best regards.

Frank
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Fri Mar 29 13:09:33 GMT 2024

Total time taken to generate the page: 0.02353 seconds