This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bad HTML on http://cygwin.com/mirrors.html


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="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=http%3A%2F%2Fcygwin.com%2Fmirrors.html
>&charset=%28detect+automatically%29&doctype=Inline&group=0

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

<ul>
  <li>Africa:
<ul>
  <li>South Africa: <a href="ftp://ftp.is.co.za/mirrors/cygwin/";>ftp.is.co.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="ftp://ftp.is.co.za/mirrors/cygwin/";>ftp.is.co.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]