Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

HTML Help?

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

Moderator: daj

User avatar
beteljuice
Posts: 2710
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: HTML Help?

Post by beteljuice » Fri 09 Aug 2019 1:11 am

My mistake .. I meant the second page http://weather.inverellit.com/gauges-ss.htm

On that page you closed the id=content div early after the first nav bar section,

but you need the closing </div> you described as gap fix in the first page - it is really the closing div for the class=content div which contains the gauges 'units' block.


.... after all that - you will still have your layout being affected by browser width due to the old default css of all the Cumulus pages ' :o

Hint:

Try weatherstyles.css

change:

Code: Select all

#content {
	margin-top: 5%;
	margin-right: 20%;
	margin-bottom: 5%;
	margin-left: 20%;
}
to:

Code: Select all

#content {
	margin: auto;
	width: 720px; /* whatever working width you like */
}
and see what happens ....
Image
......................Imagine, what you will KNOW tomorrow !

Phil23
Posts: 192
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: HTML Help?

Post by Phil23 » Fri 09 Aug 2019 9:01 pm

beteljuice wrote:
Fri 09 Aug 2019 1:11 am
Hint:

Try weatherstyles.css

change to:

Code: Select all

#content {
	margin: auto;
	width: 720px; /* whatever working width you like */
}
and see what happens ....
That seems to have improved things.

Doesn't look like it's upset any other pages, but I notice the menu doesn't wrap anymore, nor the gauges.
Presume that's because width is fixed.

I probably still have a few errors on the page I need to comb thru yet.
Also noticed it fixed the location bar, where the grey background was shrinking smaller that the text on resizing.

Not sure what's been doing my head in more....

Getting my head around this or the Tagged vLan implemention I'm doing with 8 switches, 3 long range wireless bridges & the poorly documented birds nests from the patch panels.

Thanks Much for the help.
Appreciated.
Image

Phil23
Posts: 192
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: HTML Help?

Post by Phil23 » Sat 10 Aug 2019 11:26 pm

Would like to tidy up the graph buttons a bit.

I can split them into two rows with a couple of <tr></tr>
but they all align from the left.

http://weather.inverellit.com/graphs2.htm

Would prefer them to be centred above the graph & with their height reduced a bit.

Thought I might find the height in the <style> section but can't seem to see anything related there.
(Not that I know what exactly to look for).

Anyone got any hints on these two changes?

Thanks.
Image

User avatar
beteljuice
Posts: 2710
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: HTML Help?

Post by beteljuice » Sun 11 Aug 2019 12:37 am

Oh Phil ....

I'm going to have to take you to the vets !! :groan:

You can't just put <tr> where you like without considering the <td>

You have 1st <tr> </tr> containing 6 <td> </td>

The 2nd <tr> </tr> contains 4 <td> </td>

Unless you know what you're doing, they should be the same.

In order to 'centralise' the 2nd row you need to put an 'empty' <td> at the start and at the end.

<tr>
<td>&nbsp;</td>
.... real td's
<td>&nbsp;</td>
</tr>
their height reduced a bit.
in the css associated with the guages

.button

look for height and line-height - try 30px instead of 40px

To reduce the distance between the graph and the buttons

#chartcontainer

look for margin-top

Now go and have a lie down for a month or two ...
Image
......................Imagine, what you will KNOW tomorrow !

Phil23
Posts: 192
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: HTML Help?

Post by Phil23 » Sun 11 Aug 2019 9:05 am

beteljuice wrote:
Sun 11 Aug 2019 12:37 am
Oh Phil ....

I'm going to have to take you to the vets !! :groan:
NO!
Went to the Vet's on Monday & they took $1377.45 off me for some feline care....
You can't just put <tr> where you like without considering the <td>
Yeahbut,
You've gotta break stuff to see if you can work out how it works...
Unless you know what you're doing.....
It's a mix of having a vague idea & being vicious with cut & paste. :twisted:
Now go and have a lie down for a month or two ...
Now how can you suggest that when it's Sunday morning & a balmy 9°C down here in (well was @ your post) Aus, & gusting @ 37 km/h.
Perfect weather for being outside & watch all the stuff blow away.


Cheers.

PS.

Happy with how it looks now.

http://weather.inverellit.com/graphs.htm

Thanks
Image

Post Reply