Re: background="#"

From: Date: Thu, 22 Jul 2004 14:35:28 +0000
Subject: Re: background="#"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191532@lists.php.net to get a copy of this message
Tobias Brasier wrote:
I have recently noticed a problem with our code or our webserver (Apache) when I execute a .php file. I have taken all php code out, but within an html <td> tag, I use background="#", which is used for older browsers such as Netscape 4.7 if you have a background color or image in a table (the background # completes it throughout the td). This isn't the case for IE or NS 6+, though.
How about this: Do a browser detection and display the '#' only if the client is using netscape 4.7 if you do a search for browser detection with PHP you will come up with plenty of examples.
The problem is that when I run the page, the log files show that the page was accessed twice.
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.

« previous php.general (#191532) next »