delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/16/16:14:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjQBAC3wqU2cKEcV/2dsb2JhbACYFo1/d6gFmTOFcQSSEw
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "'Jens Schweikhardt'" <schweikh AT schweikhardt DOT net>
Date: Sat, 16 Apr 2011 16:14:15 -0400
Subject: RE: Bad HTML on http://cygwin.com/mirrors.html
Message-ID: <0105D5C1E0353146B1B222348B0411A209E396A346@NIHMLBX02.nih.gov>
References: <20110416154730 DOT GA11826 AT schweikhardt DOT net>
In-Reply-To: <20110416154730.GA11826@schweikhardt.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Jens Schweikhardt sent the following at Saturday, April 16, 2011 11:48 AM
>the bulleted list of mirrors on http://cygwin.com/mirrors.html looks
>like it has a problem.
>  <li>Africa:
>  <li>South Africa: <a href=3D"ftp://ftp.is.co.za/mirrors/cygwin/">ftp.is.=
co.za</a>(ftp)</li>
>  <li>Asia:
>
><ul> <ul> </li> <--- this </li> should not be there. </ul> <ul>
>
>The same goes for the other continents. You might want
>to check proper HTML syntax with a validator, e.g.
>http://validator.w3.org/check?uri=3Dhttp%3A%2F%2Fcygwin.com%2Fmirrors.html
>&charset=3D%28detect+automatically%29&doctype=3DInline&group=3D0

I think that the problem is the order, not the existence.

<ul>
  <li>Africa:
<ul>
  <li>South Africa: <a href=3D"ftp://ftp.is.co.za/mirrors/cygwin/">ftp.is.c=
o.za</a>(ftp)</li>
</li>   <-- this ends the <li> started just before "Africa".
</ul>   <-- this ends the <ul> started between "Africa" and "South Africa".

I believe that a new list can be within a list element.

So I would flip the </li> and </ul> for each continent.

<ul>
  <li>Africa:
<ul>
  <li>South Africa: <a href=3D"ftp://ftp.is.co.za/mirrors/cygwin/">ftp.is.c=
o.za</a>(ftp)</li>
</ul>
</li>

Does that work for you?

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019