0 Members and 1 Guest are viewing this topic.
What version of jpgraph are you using?
Can anyone please help me with the sunpos.php. I have been working on it for the past couple of days. I get no background colors.
<?php############################################################################# A Project of TNET Services, Inc. and Saratoga-Weather.org (Canada/World-ML template set)############################################################################## Project: Sample Included Website Design# Module: sample.php# Purpose: Sample Page# Authors: Kevin W. Reed <kreed@tnet.com># TNET Services, Inc.## Copyright: (c) 1992-2007 Copyright TNET Services, Inc.############################################################################# This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA############################################################################# This document uses Tab 4 Settings############################################################################require_once("Settings.php");require_once("common.php");############################################################################$TITLE = langtransstr($SITE['organ']) . " - " .langtransstr('Sun, Moon, Seasons');$showGizmo = true; // set to false to exclude the gizmoinclude("top.php");############################################################################?></head><body><?php############################################################################include("header.php");############################################################################include("menubar.php");############################################################################?> <?php include("include-wxastronomy.php"); ?><?php############################################################################include("footer.php");############################################################################# End of Page############################################################################?>
any idea whats controlling the white space on the left?with no white space. http://frogville.us/include-wxastronomy.phpwith white space (yuk) http://frogville.us/wxastronomy.phpwxastronomy is based on wxnewpage.php with this added:UPDATE --silly css file grr..<div id="main-copy-dark" style="background: black; color: white; font: 12px Arial; background: <?php echo $stars; ?>">changed to<div style="background: black; color: white; font: 12px Arial; background: <?php echo $stars; ?>">I dont understand the css files totally but somehow that was doing it..I have other files that call out "main-copy" but none of them add that huge space.. at a loss.. but its fixed..
any idea whats controlling the white space on the left?with no white space. http://frogville.us/include-wxastronomy.phpwith white space (yuk) http://frogville.us/wxastronomy.phpwxastronomy is based on wxnewpage.php with this added:Code: [Select]<?php############################################################################# A Project of TNET Services, Inc. and Saratoga-Weather.org (Canada/World-ML template set)############################################################################## Project: Sample Included Website Design# Module: sample.php# Purpose: Sample Page# Authors: Kevin W. Reed <kreed@tnet.com># TNET Services, Inc.## Copyright: (c) 1992-2007 Copyright TNET Services, Inc.############################################################################# This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA############################################################################# This document uses Tab 4 Settings############################################################################require_once("Settings.php");require_once("common.php");############################################################################$TITLE = langtransstr($SITE['organ']) . " - " .langtransstr('Sun, Moon, Seasons');$showGizmo = true; // set to false to exclude the gizmoinclude("top.php");############################################################################?></head><body><?php############################################################################include("header.php");############################################################################include("menubar.php");############################################################################?> <?php include("include-wxastronomy.php"); ?><?php############################################################################include("footer.php");############################################################################# End of Page############################################################################?>UPDATE --silly css file grr..<div id="main-copy-dark" style="background: black; color: white; font: 12px Arial; background: <?php echo $stars; ?>">changed to<div style="background: black; color: white; font: 12px Arial; background: <?php echo $stars; ?>">I dont understand the css files totally but somehow that was doing it..I have other files that call out "main-copy" but none of them add that huge space.. at a loss.. but its fixed..