eddysilvamendes / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

Align the Stars Right #77

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I've tried to align it right, but as all starts are css floated to left, I 
can't do it

What is the expected output? What do you see instead?
I want to align the stars right for some pages

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 3.12
JQUERY VERSION: 1.4.2

On what browser(s) or operating system?
BROWSER(S): Firefox in Windows XP

I can align them to right by altering the css float left to float right, but I 
need them to be left aligned for some pages and right aligned for some pages

Please help me if there is any solution for this. Thanks in advance!

Original issue reported on code.google.com by prakasht...@gmail.com on 20 Dec 2010 at 12:43

GoogleCodeExporter commented 8 years ago
How about working with !important and different #ID's for div's?

With this CSS it worked for me:

div.star-rating {
    float: right !important; /* align the stars generally from right side */
}

#my_special_site div.star-rating {
    float: left !important; /* align the stars back from left side */
}

Original comment by stefan.simroth on 12 Apr 2011 at 4:55

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 23 Feb 2013 at 5:12