Poll results display rendering is misaligned
sshvetsov - May 17, 2006 - 21:10
| Project: | Andreas09 |
| Version: | HEAD |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When viewing poll results in Firefox 1.5.0.3 on Windows, the filled graph bar (black) that represents the number of votes, does not align with the empty graph bar. Perhaps there are some floats present in the theme that shift the foreground bar down, but not the background one. Same poll looks fine in IE 6.
The block version of the same poll doesn't have this problem. Bluemarine and Pushbutton themes seem to be immune to this issue as well.
I'm testing this theme out right now, absolutely love it and can't wait to use it in production.
I've attached the screenshot of the problem.
| Attachment | Size |
|---|---|
| poll-2.jpg | 62.24 KB |

#1
Looks like the .poll .bar .foreground {} in drupal.css is causing the problem. I've added the following to the andreas style.css file and it seems to be working correctly:
.poll .bar .foreground {clear: none;
}
#2
I wonder what was actually causing it to shift down. Bluemarine doesn't have any styling directives for .poll .bar .foreground {} in style.css.
It's good to know that it is working now. I'll test the change on my setup.
#3
Yep, this has fixed the problem for me. Thank you. I'll keep testing this theme.