From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 05:59:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1FC816A4CE for ; Mon, 1 Mar 2004 05:59:58 -0800 (PST) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id B73BA43D3F for ; Mon, 1 Mar 2004 05:59:57 -0800 (PST) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i21E0c1J042380; Mon, 1 Mar 2004 14:00:49 GMT (envelope-from peter@circlesquared.com) Message-ID: <40434206.9070301@circlesquared.com> Date: Mon, 01 Mar 2004 14:00:38 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20031102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fbsd_user@a1poweruser.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: background color for php script created web page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 13:59:58 -0000 fbsd_user wrote: >FBSD friends >Have php script that is creating web page. >It's working all except I can not set the background color. >It seems like it's ignoring the style options. > >How is the background color changed from the default >white to #CCFFCC color from within an php script? > > It isn't. This is all determined by the html (and css) your script generates. View source from a web browser, read it and find the problem. Or run the script from the command line, pipe the output into a text file and read it: #cd /location/of/script #./scriptname > output.txt #less output.txt PWR.