Details Ticket 3725


Comment | Reply | Take | Open


Serial Number 3725
Subject grass homepage requires horizontal scrolling
Area grass6
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status resolved
Last User Contact Fri Nov 4 00:08:21 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Nov 8 12:04:41 2005 (3 yr ago)
Created Sun Dec 12 00:46:08 2004 (4 yr ago)

Transaction History Ticket 3725


Sun, Dec 12 2004 00:46:08    Request created by jidanni@jidanni.org (as #2838)  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject web pages fail HTML validator
From Dan Jacobson <jidanni@jidanni.org>
Date Sat, 11 Dec 2004 14:31:07 +0800
Message-ID <87y8g5wdlg.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_12_24
X-Spam-Level
Try the http://www.htmlhelp.com/tools/validator/ on random GRASS
website etc. pages. Nope, doesn't pass the validator. E.g.,
tutorial's ex_basic.html ex_complex.html ...


Tue, Jan 11 2005 18:06:30    Mail sent by mneteler (as #2838)  
You may recheck the new PHP pages and find that something
in

    <table class="topmenu" bgcolor="#008000" cellspacing="0" cellpadding="0"
border="0" width="150">
    <tbody>
     <tr>
     <td><!-- SEARCH MENU -->
      <table cellspacing="1" cellpadding="3" border="0" width="100%">
      <tbody>
        <tr bgcolor="#cc5e2ca">
        <td nowrap="nowrap" valign="top">
         <font size="-1">
         <form method="post" action="http://grass.itc.it/cgi-bin/htsearch">
<input type="hidden" name="config" value="htdig">
         <input type="hidden" name="restrict" value="grass">
         <input type="hidden" name="exclude" value="">
         <input type="text" size="8" name="words" value="">
         <input type="submit" value="Search">
         <center>
         <a href="searchgrass.php">Advanced search</a>
         </center>
         </form>
         </font>

        </td>
        </tr>
      </tbody>
      </table><!-- END TOP MENU -->
     </td>
     </tr>
    </tbody>
    </table> <!-- END menu frame -->

is wrong. If you find it, all php pages will become valid.
Sound to be an interesting job?

Sun, Oct 9 2005 00:02:28    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
From Dan Jacobson <jidanni@jidanni.org>
To grass-bugs@intevation.de
Subject grass homepage requires horizontal scrolling
Date Sun, 09 Oct 2005 05:37:22 +0800
Message-ID <87achjk7vx.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
$ wget http://grass.cis.sinica.edu.tw/index.php
$ validate index.php
Lots of errors with
$ which validate|xargs dlocate
wdg-html-validator: /usr/bin/validate
But worst of all,
$ firefox index.php
shows "Welcome to" and the rest requires horizontal scrolling!

You guys must all have giant screens. I use 800x600.

http://www.wired.com/news/explanation.html :
"Complex nested HTML table hacks are still used by a majority of
websites to control columns and margins around blocks of text and
images. This holds back advancement in accessibility for the Web. The
glut of useless markup tags often confuses older browsers, as well as
the screen readers which help the visually and physically impaired use
the Web."

I have images turned off in my browser.


Mon, Oct 10 2005 15:53:10    Area changed to grass6 by msieczka  
Thu, Oct 13 2005 23:53:19    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 13 Oct 2005 23:53:15 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3725] (grass) grass homepage requires horizontal scrolling
Message-ID <20051013215315.GC24508@thuille.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20051008220228.237C41005AD@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20051008220228.237C41005AD@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sun, Oct 09, 2005 at 12:02:28AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3725
> -------------------------------------------------------------------------
> 
> $ wget http://grass.cis.sinica.edu.tw/index.php
> $ validate index.php
> Lots of errors with
> $ which validate|xargs dlocate
> wdg-html-validator: /usr/bin/validate

Known problem (alsready posted to you...).
Fix welcome, it's related to the "search box". No
idea how to fix it (validate doesn't tell me).


> But worst of all,
> $ firefox index.php
> shows "Welcome to" and the rest requires horizontal scrolling!
> 
> You guys must all have giant screens. I use 800x600.

Try again.

> http://www.wired.com/news/explanation.html :
> "Complex nested HTML table hacks are still used by a majority of
> websites to control columns and margins around blocks of text and
> images. This holds back advancement in accessibility for the Web. The
> glut of useless markup tags often confuses older browsers, as well as
> the screen readers which help the visually and physically impaired use
> the Web."
> 
> I have images turned off in my browser.

Markus

> 
> --- Headers Follow ---
> 
> >From jidanni@jidanni.org  Sun Oct  9 00:02:27 2005


Sun, Oct 16 2005 06:58:25    Mail sent by dcalvelo  
Sun, Oct 16 2005 07:00:33    Mail sent by dcalvelo  
On Sun, Oct 09, 2005 at 12:02:28AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3725
[Dan]
> $ wget http://grass.cis.sinica.edu.tw/index.php
> $ validate index.php
> Lots of errors with
> $ which validate|xargs dlocate
> wdg-html-validator: /usr/bin/validate

[Markus]
Known problem (alsready posted to you...).
Fix welcome, it's related to the "search box". No
idea how to fix it (validate doesn't tell me).

tidy gives a lot of warnings, but no errors.

[Dan]
> I have images turned off in my browser.

Markus, try changing the alt attribute of the grass logo to just GRASS, or an
empty string. Does that help?

Mon, Oct 17 2005 11:04:20    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 17 Oct 2005 11:04:14 +0200
From Markus Neteler <neteler@itc.it>
To Daniel Calvelo via RT <grass-bugs@intevation.de>
Cc jidanni@jidanni.org
Subject Re: [bug #3725] (grass) grass homepage requires horizontal scrolling
Message-ID <20051017090414.GA3844@thuille.itc.it>
References <20051016050033.58D0B1006B7@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20051016050033.58D0B1006B7@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sun, Oct 16, 2005 at 07:00:33AM +0200, Daniel Calvelo via RT wrote:
> On Sun, Oct 09, 2005 at 12:02:28AM +0200, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3725
> [Dan]
> > $ wget http://grass.cis.sinica.edu.tw/index.php
> > $ validate index.php
> > Lots of errors with
> > $ which validate|xargs dlocate
> > wdg-html-validator: /usr/bin/validate
> 
> [Markus]
> Known problem (alsready posted to you...).
> Fix welcome, it's related to the "search box". No
> idea how to fix it (validate doesn't tell me).
> 
> tidy gives a lot of warnings, but no errors.
> 
> [Dan]
> > I have images turned off in my browser.
> 
> Markus, try changing the alt attribute of the grass logo to just GRASS, or
an
> empty string. Does that help?

I tried, but it doesn't...

Actually I don't understand the problem listed here:
http://validator.w3.org/check?uri=http%3A%2F%2Fgrass.itc.it%2F&charset=%28detect+automatically%29&do
ctype=Inline&ss=1#line-68
but I am not HTML expert.

Markus


Tue, Oct 25 2005 00:16:18    Mail sent by dcalvelo  
[markus]
Actually I don't understand the problem listed here:
http://validator.w3.org/check?uri=http%3A%2F%2Fgrass.itc.it%2F&charset=%28detect+automatically%29&do

ctype=Inline&ss=1#line-68
but I am not HTML expert.

Ok, try to delete the <font> around the <form>. Also, the error on line 196
(opening <h4> then closing </h3>) triggers several of the following bugs.
Errors 2 to 9 have (I think) the same origin: <font>. In these, try to change
the <p>'s to <br>'s, or remove the <font> around them. 

Have you tried to use CSS for the home page?

Daniel.
Tue, Oct 25 2005 07:58:37    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 25 Oct 2005 07:58:33 +0200
From Markus Neteler <neteler@itc.it>
To Daniel Calvelo via RT <grass-bugs@intevation.de>
Cc jidanni@jidanni.org
Subject Re: [bug #3725] (grass) grass homepage requires horizontal scrolling
Message-ID <20051025055833.GA18548@thuille.itc.it>
References <20051024221618.367481006B3@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20051024221618.367481006B3@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE
X-Spam-Level
On Tue, Oct 25, 2005 at 12:16:18AM +0200, Daniel Calvelo via RT wrote:
> [markus]
> Actually I don't understand the problem listed here:
> http://validator.w3.org/check?uri=http%3A%2F%2Fgrass.itc.it%2F&charset=%28detect+automatically%29&
do
> ctype=Inline&ss=1#line-68
> but I am not HTML expert.

... nor me...
 
> Ok, try to delete the <font> around the <form>. 

I did that, validated again (no change), then re-inserted the font tag.

> Also, the error on line 196
> (opening <h4> then closing </h3>) triggers several of the following bugs.
> Errors 2 to 9 have (I think) the same origin: <font>. In these, try to change
> the <p>'s to <br>'s, or remove the <font> around them. 

Right, thanks for finding the bugs.

Now there is only a single error type:
- document type does not allow element "FORM" here; missing one of "APPLET",
"OBJECT", "MAP", "IFRAME" start-tag.
- document type does not allow element "CENTER" here; missing one of "APPLET",
"OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.
- document type does not allow element "P" here; missing one of "APPLET", "OBJECT",
"MAP", "IFRAME", "BUTTON" start-tag.

> Have you tried to use CSS for the home page?
Yes, CSS is used (maybe not at it's best). But the removing FONT tag doesn't
have any positive effect.

Maybe we have to live with the remaining errors.

Markus


Tue, Nov 1 2005 23:47:00    Mail sent by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
From Dan Jacobson <jidanni@jidanni.org>
To Markus Neteler via RT <grass-bugs@intevation.de>
Subject Re: [bug #3725] (grass) grass homepage requires horizontal scrolling
References <20051025055837.9FBCF1006D2@lists.intevation.de>
Date Wed, 02 Nov 2005 03:52:41 +0800
Message-ID <87wtjsi1rq.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
H> Maybe we have to live with the remaining errors.

"They don't even have a valid HTML homepage"!

Well then dump your fancy page producing system and instead use
http://tidy.sourceforge.net/ and write your homepage by hand like I do
on http://jidanni.org/index_en.html which you can use as a template.


Thu, Nov 3 2005 07:43:06    Mail sent by dcalvelo  
 This patch solves it:

--- index.html.orig     Thu Nov  3 01:30:49 2005
+++ index.html  Thu Nov  3 01:41:00 2005
@@ -64,7 +64,6 @@
       <tbody>
         <tr bgcolor="#c5e2ca">
         <td nowrap="nowrap" valign="top">
-         <font size="-1">
          <form method="post" action="http://grass.itc.it/cgi-bin/htsearch">
<input type="hidden" name="config" value="htdig">
          <input type="hidden" name="restrict" value="grass">
@@ -73,9 +72,10 @@
          <input type="submit" value="Search">
         </form>
          <center>
+        <font size="-1">
          <a href="searchgrass.php">Advanced search</a>
+        </font>
          </center>
-        </font>
         </td>
         </tr>
       </tbody>             
@@ -141,22 +141,23 @@
         <tr bgcolor="#c5e2ca">
         <td nowrap="nowrap">
        <font size="-1">
-          <a href="intro/general.php">About GRASS</a>
-         <p>
+          <br>
+         <a href="intro/general.php">About GRASS</a>
+         <br><br>
           <a href="download/index.php">Download</a>
-         <p>
+         <br><br>
          <a href="http://grass.gdf-hannover.de/twiki/bin/view">GRASS WIKI</a>
site
-          <p>
+          <br><br>
           <a href="mirrors.php">Mirrors site</a>
-          <p>
+          <br><br>
           <a href="community/support.php">Mailing lists</a>
-          <p>
+          <br><br>
           <a href="devel/i18n.php">Translating</a>
-          <p>
+          <br><br>
           <a href="newsletter/index.php">Newsletter</a>
-          <p>
+          <br><br>
           <a href="press.html">GRASS in the Press</a>
-          <P>
+          <br><br>
             <a href="http://mpa.itc.it/grasstutor/index.phtml"><img
src="http://mpa.itc.it/grasstutor/gb2004titlecover_small.jpg" ALT="GRASS
Book"></a>
         </font>
         </td>

------------------

Markus, could you give it a try?

Daniel.
Thu, Nov 3 2005 12:23:26    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 3 Nov 2005 12:23:22 +0100
From Markus Neteler <neteler@itc.it>
To Daniel Calvelo via RT <grass-bugs@intevation.de>
Cc jidanni@jidanni.org
Subject Re: [bug #3725] (grass) grass homepage requires horizontal scrolling
Message-ID <20051103112322.GF17678@thuille.itc.it>
References <20051103064306.46B7E1006A5@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20051103064306.46B7E1006A5@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Thu, Nov 03, 2005 at 07:43:06AM +0100, Daniel Calvelo via RT wrote:
>  This patch solves it:
... 
> Markus, could you give it a try?
> 
> Daniel.

Wow - reduced to a single error:

http://validator.w3.org/check?uri=http%3A%2F%2Fgrass.itc.it%2F&charset=%28detect+automatically%29&do
ctype=Inline&ss=1#line-68
Thanks (in CVS)

 Markus


Thu, Nov 3 2005 20:37:36    Comments added by dcalvelo  
Fixed in CVS, as of 20051103... How long until it reaches the web?
Thu, Nov 3 2005 20:38:30    Request 2838 merged into 3725 by dcalvelo (as #2838)  
Fri, Nov 4 2005 00:08:21    Mail sent by mneteler  
.. it takes 1 to few hours to reach the web.

BTW:
http://www.validome.org/lang/en/get/http://grass.itc.it
       The Document was checked and found to be valid
       HTML 4.01 Transitional

I think I like it :-)

Thanks, Daniel.

 Markus
Tue, Nov 8 2005 12:04:41    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request