Hello,
I display the average vote in a column of a table. It worked fine when that column was left-justified. But when that column is centered, the half-star portion of the vote comes out screwed up visually (the red part does not match up with the gray part horizontally).
Here's the relevant style info for the relevant table cell:
td.view-field-votingapi-cache-value { text-align: center; }
I need the column centered for when there are no votes and text is returned for that column (thanks to the patch provided for permitting rows to show up even when there are no votes -- Item #7 at http://drupal.org/node/63430 -- it returns the string "no votes", which I changed to "(no votes yet)"). The text looks wrong unless centered, but centering the cell causes the above-described problems with the stars.
Thanks!
Comments
Comment #1
ardee-1 commentedActually, I now believe that this is an issue for jRating, not for Voting API (right?).
If that's the case, I'm sorry for mistakenly posting it here.
Comment #2
eaton commentedNo problem. It's tricky figuring out which project is the culprit when there are a few APIs involved.
Comment #3
hickory commentedComment #4
ardee-1 commentedAn example page (apparently looks OK in Firefox v2 but messed up in IE v6):
http://www.shockingflix.com
Page through until you find a node with an average rating that involves a half-star. (The site is the staging area for the next-gen http://www.fuhnee.com ; it's not "live" yet, so most nodes have only my single vote thus far.)
Comment #5
hickory commentedThe half-stars on http://www.shockingflix.com/view/all?page=3 look fine to me (in Firefox).
Comment #6
ardee-1 commentedYeah, like I said, they seem OK in Firefox. It's in IE 6, at least, that the gray and red portions fail to line up horizontally. Strange!
Comment #7
hickory commentedDoes
td.view-field-votingapi-cache-value .star{ text-align: left; }help?Comment #8
lemartialou commentedThat helped me! :)
Seems to affect only IE6 and IE7 (in my case modifying the margins of the .rating in the 5.x-dev version)
Comment #9
hickory commentedComment #10
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.