Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Can't Center in Chrome

Avatar of lowpriceskates
lowpriceskatesFlag for United States of America asked on
CSSHTMLWeb Browsers
4 Comments1 Solution1184 ViewsLast Modified:
This is driving me crazy.
I can't center a table within a div in Google Chrome/Safari.
I have it working in Firefox and IE.

The 5-star rating below the product price and above the "more info" button is left justified in Chrome and I can't center it.

I added these two lines to my css file and it fixes the problem in IE and FF:
.product-list-rating {text-align:center !important;}
table.rating-container {display:inline !important;}

This is the table with the class "rating-container" inside of the div "product-list-rating".
This is a NetSol shopping cart so I can't edit the HTML any. I can only add my own CSS and can't change the IDs or classes of anything.
Please help! Thanks!!
Avatar of Designbyonyx
DesignbyonyxFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers