Jump to content
Sign in to follow this  
stipto

CSS button struggles

Recommended Posts

stipto

Hey there, Hope I'm posting in the right place, since this is on a Platform Pro website. I'm Having troubles with a css button: It doesn't read all css and I don't know why. Html:

<span>Go to Google</span>[/code]

	
	CSS: 
[code] .knoppie { background: #65a9d7; ? ?  background: -webkit-gradient(linear, left top, left bottom, from(#0f85d4), to(#65a9d7)); ? ?  background: -moz-linear-gradient(top, #0f85d4, #65a9d7); color:#FFFFFF; border-top: 1px solid #96d1f8; padding: 7px 14px; text-shadow: #666666 0px 1px 0px; border-radius: 17px; ? ?  -moz-border-radius: 17px; -webkit-border-radius: 17px; -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; ? ?  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; ? ?  box-shadow: rgba(0,0,0,1) 0 1px 0; ? ?  text-shadow: rgba(0,0,0,.4) 0 1px 0; ? ?  color: white; ? ?  font-size: 16px; ? ?  font-family: Helvetica, Arial, Sans-Serif; ? ?  text-decoration: none; ? ?  vertical-align: middle; ? ? ? }

Firebug on page: Schermafbeelding%202011-04-18%20om%2013.56.21.png This is what the button looks like in Firefox: Schermafbeelding%202011-04-18%20om%2013.56.33.png And like this in Chrome: Schermafbeelding%202011-04-18%20om%2014.07.19.png In Chrome it looks better, but both lack the gradients I specified... Any clue? Cheers!

Share this post


Link to post
Share on other sites
Kate

Hi Rui, Looking over your code, I don't see anything off the bat that would be wrong. Have you tried adding the "!important" declaration to the end of your lines of code that aren't being applied?

Share this post


Link to post
Share on other sites
stipto

Yep, I did. I've got a hunch it's got something to do with a plugin... I'll try deactivating them all and see if anything happens. Thanks Kate.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×