diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-29 10:18:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-29 10:18:38 +0000 |
commit | 1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34 (patch) | |
tree | 746f550c09c4a827c859d32384b055e35db1fcd0 /modules/poll/poll.module | |
parent | f7e11d3bb763d0f8c3b0551b7f5848f72c557ac0 (diff) | |
download | brdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.gz brdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.bz2 |
- Al's CSS patches. This commit improves the themability of some core
components such as lists, form items, removes an ugly hack from the
archive module and should fix the poll problem (although it doesn't
Opera/Konqueror).
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r-- | modules/poll/poll.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index d0fa6f9ef..d0a617d6b 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -306,8 +306,8 @@ function poll_view_results(&$node, $main, $block, $links) { $percentage = round($node->chvotes[$key] * 100 / max($votestotal, 1)); $output .= "<div class=\"poll-text\">". filter($value) ."</div>"; - $output .= "<div style=\"float:left; width:". $width ."%; height: 1em;\" class=\"poll-foreground\"></div>"; - $output .= "<div style=\"float:left; width:". (100 - $width) ."%; height: 1em;\" class=\"poll-background\"></div>"; + $output .= "<div style=\"width:". $width ."%;\" class=\"poll-foreground\"></div>"; + $output .= "<div style=\"width:". (100 - $width) ."%;\" class=\"poll-background\"></div>"; $output .= "<div align=\"right\"> $percentage%". (!$block ? " (". format_plural($node->chvotes[$key], "1 vote", "%count votes") .")" : "") ."</div>"; } } |