How to control the amount of spaces between cells (td) using CSS

In my attached CSS file, I have a table with two columns and 5 rows.  I have spaces between the columns but as soon as I align the second column to the right, there's big gap between the columns.  Is there a way that I can move the columns closed together.  See the attachments.
starRating.css
starRating.html
threestars.png
fourstars.png
fivestars.png
cookiejarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Edwin HofferTechnical ExpertCommented:
Hello cookiejar,

You have defined class="alnright" that align the text to right remove that to close the text to the image.

See image:
star.png
Best Regards
0
Dave BaldwinFixer of ProblemsCommented:
You have made all the 'td's in class="star-rating" to be 85px wide.  You need to make that apply to only the left hand 'td's instead of all of them.  Then your class for the right hand can take effect.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cookiejarAuthor Commented:
It did exactly what I wanted it to do, after applying the style rule only to the left td's Thank you.
0
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.