Page 1 of 1
Centralising the links at the bottom of the page
Posted: Mon 11 Jan 2016 10:55 pm
by richard_newberry
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
Re: Centralising the links at the bottom of the page
Posted: Mon 11 Jan 2016 11:19 pm
by water01
You have the code outside the /body and /html terminators and it is missing the opening <table> and the closing </p> for the credits.
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>
It should be like this
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>
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.
Re: Centralising the links at the bottom of the page
Posted: Mon 11 Jan 2016 11:52 pm
by richard_newberry
It doesnt update on realtime it just updates when you load the page.
I will change it tomorrow night.
Many thanks.
Re: Centralising the links at the bottom of the page
Posted: Tue 12 Jan 2016 10:57 pm
by richard_newberry
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.
Re: Centralising the links at the bottom of the page
Posted: Wed 13 Jan 2016 1:05 am
by beteljuice
Are you talking about menu wrap ?
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>
This is an inherited problem from when Cumulus had far fewer pages. The current options 'break' the containing <table>.
Re: Centralising the links at the bottom of the page
Posted: Thu 14 Jan 2016 12:35 am
by richard_newberry
I just want the navigation bar to be centred on the page underneath the table please.
Re: Centralising the links at the bottom of the page
Posted: Thu 14 Jan 2016 5:07 am
by beteljuice
... then replace the menu <td> with the one I posted above.