Re: Help with adding an image to a table row

From: Date: Wed, 17 Mar 2004 17:43:31 +0000
Subject: Re: Help with adding an image to a table row
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180716@lists.php.net to get a copy of this message
On Wed, 2004-03-17 at 12:23, Mark wrote: > I have the following snippet of code that I cannot seem to find a way to > add an image to a <TR>. The line in question is the first one under the > else statement: > > print "<TR BGCOLOR=\"#381499\">"; > > This line, I would like to show a image called "backgrnd.png" instead of > a backgound color. > This has nothing to do with PHP. Try applying a style property to this element instead. <tr style="background-image: url("path/to/file/foo.bar");">

« previous php.general (#180716) next »