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

HTML Help

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

HTML Help

Post by robynfali »

Just a little bit of help needed to relocate a tide times box

http://www.valley-weather.co.uk/index.htm

I have one box, which is fine where it is, the "Holyhead" one, I would like the "Trearddur Bay" box to be in the same position the other side, but for the life of me, i can't figure out how to do it, this is what the code currently looks like for that area


Code: Select all

</div>
<div id="footer">
<!-- YOUR COPYRIGHT -->
	<p>Copyright &copy; 2011 <a href="mailto:INFO@MYWEATHERSITE.COM">My Weather Site</a></p>
<!-- AUTHOR'S COPYRIGHT  -->
	<p class="credit">Template by : <a href="http://meteoduquebec.com/english.html">Météo du Québec</a> &copy;2011</p>
<!--tide times -->
<div>
<script type="text/javascript" src="http://www.tidetimes.org.uk/Trearddur_Bay.js"></script><script type="text/javascript" src="http://www.tidetimes.org.uk/Holyhead.js"></script>
</div>
</div>
philcdav
Posts: 244
Joined: Tue 24 Jun 2008 9:43 pm
Weather Station: MyDEL WX2008 Mk2 Fine Offset
Operating System: XP and W7
Location: Maghull, nr Liverpool, UK
Contact:

Re: HTML Help

Post by philcdav »

Hi Rob.

Am no expert but have found i get the same result if i include your code on my page.

I found i could 'fix' the problem by moving the code to a different area within the <div>

I also put a <p> between the elements to make them fit one above the other but in my page they are inside a left hand sidebar so it 'looks' OK


<a href="http://s09.flagcounter.com/more/III"><img src="http://s09.flagcounter.com/count/III/bg ... 0/flags_0/" alt="free counters" border="0"></a><br><a href="http://www.flagcounter.com/">Free counters</a>

<script type="text/javascript" src="http://www.tidetimes.org.uk/Trearddur_Bay.js"></script>
<p>
<script type="text/javascript" src="http://www.tidetimes.org.uk/Holyhead.js"></script>

</div>



if i put the boxes outside this area, for eg. before the footer i get the second layout which is poor .

Hope this helps

I have just uploaded the scripts to my site here ... http://www.philcdav.webspace.virginmedi ... ather.html
You do not have the required permissions to view the files attached to this post.
Phil - G0DOR
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: HTML Help

Post by robynfali »

that's one possible fix, many thanks for your effort!
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: HTML Help

Post by robynfali »

Just tried a bit of yours the <p> and also centering both scripts, now for some reason, one is more centered than the other, and i now have an erroneous square on the left side :?:
User avatar
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: HTML Help

Post by beteljuice »

Take the scripts out of the 'footer' <div>.

The css is a little cranky and they create their own layout anyway.

Create a new <div> or <table> between your two last </div> so you can lay them out the way you want.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: HTML Help

Post by robynfali »

that worked perfectly, thanks.

Do you think there is anyway i can have them side by side at all? i wanted to add a few more local places, but dont want it going downwards, i used the div tag btw
User avatar
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: HTML Help

Post by beteljuice »

There is 'interference' between their and the page css.

Best thing to do is put them in a table in seperate <td>, then <div> or <span> don't 'split'.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply