Why does my CSS look different in Firefox vs Chrome????????

Hi, my css looks the way I want it to in Firefox but in Chrome it looks terrible!!

Can anyone tell me why????????

http://www.cs.iupui.edu/~tleithof/n300/final.html#necklaces
FairyBusinessAsked:
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.

coogsircCommented:
I've looked at it in Chrome 11.0 and it looks fine.
0
FairyBusinessAuthor Commented:
it looks the exact same as firefox?? pink all over??
0
Dave BaldwinFixer of ProblemsCommented:
No.  Some of your CSS doesn't make any sense.  You have #fff7fd for a background-image in .ui-body-c.  And anything starting with '-moz' is probably ignored by Chrome which is a Webkit browser, not a Mozilla browser.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Kim WalkerWeb Programmer/TechnicianCommented:
CSS declarations using the -moz prefix are supported by Firefox but not Chrome. Chrome supports the -webkit prefix. Try adding the webkit declaration:

.ui-body-c {
	background: -moz-linear-gradient(center top, #FFF7FD, #FFF0FB) repeat scroll 0 0 #FFF7FD;
	background: -webkit-linear-gradient(center top, center bottom, from(#FFF7FD), to(#FFF0FB)) repeat scroll 0 0 #FFF7FD;
}

Open in new window

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
FairyBusinessAuthor Commented:
this is my .ui-body-c

.ui-body-c {
      background: -moz-linear-gradient(center top , #fff7fd, #fff0fb) repeat scroll 0 0 #fff7fd;
}

where do you see a color for an image?? does it show that in the source code?

can I replace -moz with -webkit everywhere??
0
mt_spyCommented:

that's because you are using firefox attribute
 -moz-linear-gradient(center top , #FFF7FD, #FFF0FB) repeat scroll 0 0 #FFF7FD;

to view the same background gradient you have to use both -moz for firefox and -webkit-gradient for chrome

0
Dave BaldwinFixer of ProblemsCommented:
If you "replace -moz with -webkit everywhere" then Firefox and the Mozilla browsers will not recognize it.  I didn't see a gradient on that page in Firefox anyway.
0
FairyBusinessAuthor Commented:
look at my back button in firefox vs chrome.  thats the things that looks the first (the arrows), I cannot figure out how to make it look good in chrome.

here is my css for the arrow icons

.ui-icon {
      background-image: url("images/icons-36-white.png");
      background-color: #ff53d8;      
}
moz-back.png
0
FairyBusinessAuthor Commented:
thanks!!
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.