| |
========================================
This is PHP Byte Budget..it's one grad with variable width so after you write the cell, then you must tell the browser how wide it is. You do this by writing the width in the string. This is HTML so put the width in quotes, then you must end the cell.
<?php
$t = "<center><table border=0 cellspacing=0 cellpadding=0><tr>";
$pos = "<td bgcolor=black gradcolor=gold gradangle=90 height=5 width=";
$neg = "<td bgcolor=black gradcolor=red gradangle=-90 height=5 width=";
$E = "></td>";
$et = "</tr></table></center>";
echo $t,$pos,"20",$E,$neg,"20",$E,$et;
echo $t,$neg,"25",$E,$pos,"25",$E,$neg,"20",$E,$pos,"20",$E,$neg,"25",$E,$pos,"25",$E,$et;
echo $t,$pos,"20",$E,$neg,"20",$E,$pos,"20",$E,$neg,"20",$E,$pos,"20",$E,$neg,"20",$E,$pos,"20",$E,$neg,"20",$E,$pos,"20",$E,$neg,"20",$E,$et;
?>
|
Back
| |