mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   Inconsistent page display (https://www.mersenneforum.org/showthread.php?t=17975)

Uncwilly 2013-03-17 05:51

Inconsistent page display
 
For quite some time PrimeNet has been serving up pages that are not consistent. Some of them work ok and some are malfed. For example [url]http://www.mersenne.org/primenet/[/url] gives me a page (in Opera, which follows the HTML standards uber faithfully) with all of the menu choices strung out across the top and the data way of to the right after that (it is in the right 1/6 of the page, so a lot of scrolling.) But some others like [url]http://www.mersenne.org/report_recent_results/[/url] don't have that problem, they are aligned ok.

I poked around the code and found the differences that see to make it work or not.

This is the working section from a page that works
[CODE]<body>

<div align="left">
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1000" height="533">
<tr>
<td colspan="2" width="714" height="19"><div align="left">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td valign="top">
<a href="/webarchive/">
<img border="0" src="/images/sm_logo_2007.jpg" width="184" height="92"></a></td>
<td>
<b><font size="5" face="Tahoma">Great Internet Mersenne Prime Search<br>
PrimeNet </font></b><font face="Verdana" size="4">(v5.0)</font></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="50" height="483" valign="top"><script src="/TreeMenu.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">[/CODE]

The is the similar section from a page that does not work:
[CODE]<body>
<div align="left">
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" >
<tr>
<td colspan="2"><div align="left">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td valign="top">
<a href="/webarchive/">
<img border="0" src="/images/sm_logo_2007.jpg" width="184" height="92"></a></td>
<td>
<b><font size="5" face="Tahoma">Great Internet Mersenne Prime Search<br>
PrimeNet </font></b><font face="Verdana" size="4">(v5.0)</font></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="8%" valign="top"><script src="/TreeMenu.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">[/CODE]

This works: <td width="50" height="483" valign="top"> this does not:<td width="8%" valign="top">

These work:[CODE]
http://www.mersenne.org/report_top_500/
http://www.mersenne.org/report_top_500_LL/
http://www.mersenne.org/report_top_500_LLD/
http://www.mersenne.org/report_top_500_P-1/
http://www.mersenne.org/report_top_500_ECM/
http://www.mersenne.org/report_top_teams/
http://www.mersenne.org/report_top_teams_TF/
http://www.mersenne.org/report_top_teams_LL/
http://www.mersenne.org/report_top_teams_LLD/
http://www.mersenne.org/report_top_teams_P-1/
http://www.mersenne.org/report_top_teams_ECM/
http://www.mersenne.org/report_recent_results/
http://www.mersenne.org/report_recent_cleared/
http://www.mersenne.org/account/default.php[/CODE]

These are malfed (and the pages generated upon input for reports):[CODE]http://www.mersenne.org/primenet/
http://www.mersenne.org/thresholds/
http://www.mersenne.org/report_exponent/
http://www.mersenne.org/report_factors/
http://www.mersenne.org/report_factoring_effort/
http://www.mersenne.org/report_LL/
http://www.mersenne.org/report_ECM/
http://www.mersenne.org/report_benchmarks/
http://www.mersenne.org/update/
http://www.mersenne.org/cpus/
http://www.mersenne.org/workload/
http://www.mersenne.org/results/
http://www.mersenne.org/v4_migration/
http://www.mersenne.org/team/
http://www.mersenne.org/tmembers/
http://www.mersenne.org/tcpus/
http://www.mersenne.org/tworkload/
http://www.mersenne.org/tresults/[/CODE]

cheesehead 2013-03-17 15:00

[QUOTE=Uncwilly;333680]For quite some time PrimeNet has been serving up pages that are not consistent. Some of them work ok and some are malfed.[/QUOTE]Thanks for taking the time to document this!

[quote]For example [URL]http://www.mersenne.org/primenet/[/URL] gives me a page (in Opera, which follows the HTML standards uber faithfully) with all of the menu choices strung out across the top and the data way of to the right after that (it is in the right 1/6 of the page, so a lot of scrolling.)[/quote]I've never seen that happen on any mersenne.org page (incl. all those you list) in Firefox. (I don't know whether that says anything about Opera vs. Firefox, or whether Firefox is sloppy -- I'm just reporting that for comparison. Maybe it means Firefox wouldn't be good for debugging these pages.)

Mr. P-1 2013-03-17 15:21

[QUOTE=cheesehead;333705]I've never seen that happen on any mersenne.org page (incl. all those you list) in Firefox. (I don't know whether that says anything about Opera vs. Firefox, or whether Firefox is sloppy -- I'm just reporting that for comparison. Maybe it means Firefox wouldn't be good for debugging these pages.)[/QUOTE]

Ditto Chromium

sdbardwick 2013-03-17 18:52

No formatting errors on IE9.
Based on a [I]cursory[/I] look at the HTML and description of the problem, it might just be a missing </td>...

ET_ 2013-03-17 19:06

[QUOTE=sdbardwick;333744]No formatting errors on IE9.
Based on a [I]cursory[/I] look at the HTML and description of the problem, it might just be a missing </td>...[/QUOTE]

Firefox works great without </td>s... :smile:

Luigi

chalsall 2013-03-17 20:33

[QUOTE=ET_;333753]Firefox works great without </td>s... :smile:[/QUOTE]

Yeah. It shouldn't, but it does.

WRT Uncwilly report above, [URL="http://validator.w3.org/"]validator.w3.org[/URL] can be a good friend to any web developer. It's results for the [URL="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mersenne.org%2Fprimenet%2F"]Primenet Activity Summary[/URL] is an example.

(Not to pick on George or Scott -- it can be a royal pain to get an HTML page to be fully conformant while still working correctly in all browsers (*cough* Internet Exploder *caugh*). I haven't checked myself recently to see if all of GPU72 is.)

Batalov 2013-03-17 20:58

I am an FF user (the institute IT installed IE on all company computers though, and just recently proudly "rolled out" IE9 (!) oh yes!), but for the compatibilty sake, I also have to check some pages every once in a while.

I've just noticed the latest M$soft bid to bump up the [URL="http://html5test.com/"]html5[/URL] compliance ...IE10. Tested it now. Hmm, canvas is alive for the first time! Oh joy, rapture!

cheesehead 2013-03-23 05:57

[QUOTE=chalsall;333770]<snip> [URL="http://validator.w3.org/"]validator.w3.org[/URL] can be a good friend to any web developer.[/quote]

Yes!

Uncwilly 2014-02-03 01:07

Thanks James for addressing this in your ministrations to PrimeNet!
It has been noticed.:bow:


All times are UTC. The time now is 13:41.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.