beteljuice wrote:Looks alright in Firefox.
The only thing I can see is that you have some 'orphan' closing html statements in your page.
Code: Select all
</tr> <---- REMOVE
</table> <---- REMOVE
<p class="credits"><br />
Page updated 01/Feb/2015 12:00:02<br />
Thanks for pointing that out, but it hasn't helped.
If I expand the menu while 2013 (for example) is displayed, the menu table has <br /> characters between lines:
<!-- parms: yr='2013' mo='' -->
<!-- now='2015'-'02' prior='2015'-'01' -->
<div class="noaa_rep_container">
<div class="noaa_rep_nav_container">
Select a Year or Month report<br />
<div id="all_nav" style="display: inline;">
<span id="nav_updown" class="noaa_rep_nav noaa_expand_alt" onClick="switch_nav();">V/Λ:
(All the month buttons in here:)
class="noaa_rep_nav ">Dec</span>
<br />
<span class="noaa_rep_nav noaa_expand_alt" onClick="switch_nav();">V/Λ
(All the month buttons in here:)
class="noaa_rep_nav ">Dec</a>
</span><br />
etc etc.......
If I expand the menu for 2011, the <br/> character between the rows is missing. So now I know what is happening, have to find out what creates it...
Edit:
I can see a line in NOAA-reports.php that reads:
if($yr != $first_year) { $full_nav2 .= "<br />\n";}
This is the only line that seems to be special for the first year of the reports.
I've looked through 'full_nav2' but cannot see anything missing. Mark's site works properly so I guess the script must be OK, but I can't see any reason why the line breaks should be missing
only when the first year is selected and no month is selected other than something wrong in the script.
I need a drink!