Button style not getting applied

I'm helping a friend put a web site together and I've run into a problem with styles not working on some buttons.

Check out the "See our products" and "See our Results" links at the bottom of this page.

I have the code for the button set up in the style section of the site but for some reason it's not getting used.  

I appreciate the help!
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.


It seems you have an error javascript induced by your embedded Flash player:

uncaught exception: Error in Actionscript. Use a try/catch block to find error.
Line 217

Use Mozilla Firefox + Firebug to catch the error, then go debugging into your website javascript file.

Just for testing purposes, make a copy of your webpage and eliminate the embedded player, then see if styles load and get applied correctly.
Julian HansenCommented:
The problem is that you have errors in your style's section.

For instance on line 155 of the source as viewed with view source there is a missing '} after the BACKGROUND-COLOR: - just ends

Same on 158

164 again after CURSOR:hand;

On 207 after .button:active declaration you have the following starting in the middle of nowhere


Fix those and your button style should work (I would check for other validation errors in CSS and HTML as a matter of course)

Also consider using HTML5 standards

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
When you run into these kids of problems it is frequently caused by non-standard code.

It is a good idea to validate as you go along.  It only takes a few seconds to run the validators and it can save your many hours trying to fix broken pieces.

for HTML you can validate at: http://validator.w3.org/
for CSS use: http://jigsaw.w3.org/css-validator/

Julian's suggestion that you use HTML5 is also a good idea.  Using older technology just means you are forced into obsolete presentation and have to re-build sooner.

BasilFawlty001Author Commented:
It was the crappy CSS.  All fixed and working now.  Thanks!
Julian HansenCommented:
You are welcome - thanks for the points.
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

From novice to tech pro — start learning today.