diff options
-rw-r--r-- | phpfspot.class.php | 15 | ||||
-rw-r--r-- | themes/default/stylesheet.css | 13 |
2 files changed, 15 insertions, 13 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index d2bb907..9c4321a 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -778,17 +778,10 @@ class PHPFSPOT { break; case 'img': $output.= " - <div style=\"display: table-cell;\"> - <div style=\"display: table-row; text-align: center;\"> - <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\"> - <img src=\"". $this->cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" /> - </a> - </div> - <div style=\"display: table-row; text-align: center;\"> - <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\"> - <img src=\"". $this->cfg->web_path ."/resources/underbar.png\" /> - </a> - </div> + <div class=\"tagresulttag\"> + <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\"> + <img src=\"". $this->cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" /> + </a> </div> "; break; diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 1c0ebcf..4aa376c 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -105,8 +105,15 @@ div.tagresult{ } div.tagresulttags{ - padding: 5px 10px 5px 10px; + padding: 5px 0px 5px 10px; background-color: #eeeeee; + vertical-align: middle; +} + +div.tagresulttag{ + padding: 0 0 0 5px; + background-color: #eeeeee; + display: inline; } div.photo{ @@ -220,7 +227,9 @@ div.thumb a.thumblink:hover { color: #4761ab; } -.cb { clear: both; } +.cb { + clear: both; +} #photo_details { width: 150px; |