Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 10:56 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Sidebar overflow problem with modified template.
PostPosted: Mon Apr 02, 2012 6:07 pm 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 324
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
I wanted to change the look of the standard template I use. To do this I needed to move the footer below the "</div> - page" and before the "</div> - body". But when I did this the sidebar over flowed the content area as in THIS example.

The only way I could stop this was to create a new invisible div where the footer was that has this property: "#fred {clear:both;}" (yes I called it fred). This works a treat as can be seen HERE.

So the question is - is this an acceptable way of over coming the problem or is there a better / more accepted way?

Duke

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
 Post subject: Re: Sidebar overflow problem with modified template.
PostPosted: Mon Apr 02, 2012 11:32 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1848
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
The beteljuice is often bemused by CSS :?

There is something odd about the nesting of the <div>s, but I can't immediately see what.
The only other way I can make it behave is to 'hard code' the height attribute of your #content to 1210px.

BTW - why is your page so wide ?

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: Sidebar overflow problem with modified template.
PostPosted: Tue Apr 03, 2012 5:30 pm 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 324
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
Actually, just managed to resolve this :oops: , edited out a line on the css which was needed and was missing a "</div>".

Quote:
BTW - why is your page so wide ?


uummhh :? Don't know, it is currently 1050. What would be an "average" page width?

Duke

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
 Post subject: Re: Sidebar overflow problem with modified template.
PostPosted: Tue Apr 03, 2012 6:11 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
duke wrote:
Actually, just managed to resolve this :oops: , edited out a line on the css which was needed and was missing a "</div>".

Quote:
BTW - why is your page so wide ?


uummhh :? Don't know, it is currently 1050. What would be an "average" page width?

Duke


1024 ?? ;) viewtopic.php?f=4&t=2553

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group