Link to home
Start Free TrialLog in
Avatar of BasilFawlty001
BasilFawlty001Flag for Canada

asked on

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!
Avatar of Argenti
Argenti
Flag of France image

Hello

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.
https://s.ytimg.com/yts/jsbin/www-embed-player-vflTP1ltD.js
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.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start 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.

Cd&
Avatar of BasilFawlty001

ASKER

It was the crappy CSS.  All fixed and working now.  Thanks!
You are welcome - thanks for the points.