limit percentage of font-size for tag cloud entries to intenger values
[phpfspot.git] / phpfspot.class.php
index b0440245b4014926d5646a6c7ddc04320b4c6852..e15f8e5e9aa66af354e943a80b1f9488ec7558f5 100644 (file)
@@ -194,7 +194,7 @@ class PHPFSPOT {
           // and add the $min_size set above
          $size = $min_size + (($value - $min_qty) * $step);
           // uncomment if you want sizes in whole %:
-          // $size = ceil($size);
+         $size = ceil($size);
 
          print "<a href=\"javascript:Tags('add', ". $key .");\" class=\"tag\" style=\"font-size: ". $size ."%;\">". $this->tags[$key] ."</a>&nbsp;";