http://kirbymuxloe-weather.dyndns.org/NOAA-reports.php
How do I centralise the href links on this page I've tried everything but can't get the code right? (same as index.htm at the bottom)
Many thanks
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Centralising the links at the bottom of the page
Moderator: mcrossley
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Centralising the links at the bottom of the page
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Centralising the links at the bottom of the page
You have the code outside the /body and /html terminators and it is missing the opening <table> and the closing </p> for the credits.
It should be like this
Also the page seems to be updated at realtime if the date and time is anything to go by, which is rather pointless as it is a daily report.
Code: Select all
</div> <!-- END noaa_rep_container -->
</body>
</html>
<tr>
<td colspan="4" class="td_navigation_bar">:<a href="index.htm">now</a>::<a href="gauges.htm">gauges</a>::<a href="today.htm">today</a>::<a href="yesterday.htm">yesterday</a>::<a href="thismonth.htm">this month</a>::<a href="thisyear.htm">this year</a>::<a href="record.htm">records</a>::<a href="monthlyrecord.htm">monthly records</a>::<a href="top10_records.php">top 10 records</a>::<a href="trends.htm">trends</a></td>
</tr>
</table>
<p class="credits"><br />
Page updated 11/01/2016 23:12:23<br>
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a><br>Code: Select all
</div> <!-- END noaa_rep_container -->
<table>
<tr>
<td colspan="4" class="td_navigation_bar">:<a href="index.htm">now</a>::<a href="gauges.htm">gauges</a>::<a href="today.htm">today</a>::<a href="yesterday.htm">yesterday</a>::<a href="thismonth.htm">this month</a>::<a href="thisyear.htm">this year</a>::<a href="record.htm">records</a>::<a href="monthlyrecord.htm">monthly records</a>::<a href="top10_records.php">top 10 records</a>::<a href="trends.htm">trends</a></td>
</tr>
</table>
<p class="credits"><br />
Page updated 11/01/2016 23:12:23<br>
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a><br>
</p>
</body>
</html>-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: Centralising the links at the bottom of the page
It doesnt update on realtime it just updates when you load the page.
I will change it tomorrow night.
Many thanks.
I will change it tomorrow night.
Many thanks.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: Centralising the links at the bottom of the page
if I change this it doesn't work.
// Now just end the page structure
?>
<tr>
<td colspan="4" class="td_navigation_bar">:<a href="index.htm">now</a>::<a href="gauges.htm">gauges</a>::<a href="today.htm">today</a>::<a href="yesterday.htm">yesterday</a>::<a href="thismonth.htm">this month</a>::<a href="thisyear.htm">this year</a>::<a href="record.htm">records</a>::<a href="monthlyrecord.htm">monthly records</a>::<a href="top10_records.php">top 10 records</a>::<a href="trends.htm">trends</a></td>
</tr>
</table>
<p class="credits"><br />
Page updated <?php echo date('d/m/Y H:i:s') ?><br>
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a><br>
</p>
I would like the navigation centered on the page that's all.
// Now just end the page structure
?>
<tr>
<td colspan="4" class="td_navigation_bar">:<a href="index.htm">now</a>::<a href="gauges.htm">gauges</a>::<a href="today.htm">today</a>::<a href="yesterday.htm">yesterday</a>::<a href="thismonth.htm">this month</a>::<a href="thisyear.htm">this year</a>::<a href="record.htm">records</a>::<a href="monthlyrecord.htm">monthly records</a>::<a href="top10_records.php">top 10 records</a>::<a href="trends.htm">trends</a></td>
</tr>
</table>
<p class="credits"><br />
Page updated <?php echo date('d/m/Y H:i:s') ?><br>
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a><br>
</p>
I would like the navigation centered on the page that's all.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Centralising the links at the bottom of the page
Are you talking about menu wrap ?
Just put a <space> NOT between the :: seperators.
Thus:
This is an inherited problem from when Cumulus had far fewer pages. The current options 'break' the containing <table>.
Just put a <space> NOT between the :: seperators.
Thus:
Code: Select all
<td colspan="4" class="td_navigation_bar">:<a href="index.htm">now</a>: :<a href="gauges.htm">gauges</a>: :<a href="today.htm">today</a>: :<a href="yesterday.htm">yesterday</a>: :<a href="thismonth.htm">this month</a>: :<a href="thisyear.htm">this year</a>: :<a href="record.htm">records</a>: :<a href="monthlyrecord.htm">monthly records</a>: :<a href="top10_records.php">top 10 records</a>: :<a href="trends.htm">trends</a></td>......................Imagine, what you will KNOW tomorrow !
-
richard_newberry
- Posts: 500
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: Centralising the links at the bottom of the page
I just want the navigation bar to be centred on the page underneath the table please.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Centralising the links at the bottom of the page
... then replace the menu <td> with the one I posted above.
......................Imagine, what you will KNOW tomorrow !