...

View Full Version : Dynamically increase Table Colum width



avizhome
03-23-2010, 07:03 AM
Hi,
Am trying to increase with of a table colun using the following code, but the width remains unchanged.


echo "<td width='800'>" . $row['location'] . "</td>";

Any help?

Len Whistler
03-23-2010, 07:11 AM
Hi,
Am trying to increase with of a table colun using the following code, but the width remains unchanged.


echo "<td width='800'>" . $row['location'] . "</td>";

Any help?


<?php
$width = 347;
$suffix = "px";

echo "<td width=\"$width$suffix\" height=\"10px\"> $row['location']</td>";
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum