Element style is missing required attribute scoped.
-
When I Run html validator I get the following error on Mox Button.
How Can I fix this?
Element style is missing required attribute scoped.
…x; top: 198px;”><style type=”text/css”>a.maxbutton-3 { text-decoration: none; …
-
You could try the “Use External CSS” function and copy the CSS for your buttons to a stylesheet. That would most likely remove this error.
Hello, Thanks .. I did not see that option until you mentioned it. I have clicked use external css as an option and copied the code into the main css file.
I cleared cached pages etc.. but the code is still on the page as if its inline..
Once checked, the “Use External” should take care of it. I’ve tested in on several installations and that’s been the case. Maybe it hasn’t actually refreshed the cache. Wait a bit and check again.
Ok I waited 24 hours. cleared the cache completely, moved the css to the main css page..clicked the option for the css to load externally, and still the buttons load inline…very odd.
I also deactivated and reactivated the plugin to see if that would fix it but no joy.
Can you send the page link?
Which button is giving you the issue? I’m looking at the main slider and none have the inline styling. They also don’t have any styling.
I unistalled the caching program an hour ago and reinstalled it. That seems to have fixed the issue with the inline styling.
I now just added the following to test on button one…on the first slider, to the main css, but it does not seem to be applying the styling
a.maxbutton-1 { text-decoration: none; color: #ffffff; font-family: Arial; font-size: 15px; font-style: normal; font-weight: bold; padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; background-color: #000000; background: linear-gradient(rgba(0, 0, 0, 1) 45%, rgba(48, 48, 48, 1)); background: -moz-linear-gradient(rgba(0, 0, 0, 1) 45%, rgba(48, 48, 48, 1)); background: -o-linear-gradient(rgba(0, 0, 0, 1) 45%, rgba(48, 48, 48, 1)); background: -webkit-gradient(linear, left top, left bottom, color-stop(.45, rgba(0, 0, 0, 1)), color-stop(1, rgba(48, 48, 48, 1))); border-style: solid; border-width: 1px; border-color: #3b3b3b; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; text-shadow: -1px -1px 0px #618926; box-shadow: 0px 0px 2px #333333; -pie-background: linear-gradient(rgba(0, 0, 0, 1) 45%, rgba(48, 48, 48, 1)); position: relative; behavior: url(“http://www.gayparis4u.com/wp-content/plugins/maxbuttons/pie/PIE.htc”); } a.maxbutton-1:visited { text-decoration: none; color: #ffffff; } a.maxbutton-1:hover { text-decoration: none; color: #ffffff; background-color: #303030; background: linear-gradient(rgba(48, 48, 48, 1) 45%, rgba(0, 0, 0, 1)); background: -moz-linear-gradient(rgba(48, 48, 48, 1) 45%, rgba(0, 0, 0, 1)); background: -o-linear-gradient(rgba(48, 48, 48, 1) 45%, rgba(0, 0, 0, 1)); background: -webkit-gradient(linear, left top, left bottom, color-stop(.45, rgba(48, 48, 48, 1)), color-stop(1, rgba(0, 0, 0, 1))); border-color: #3b3b3b; text-shadow: -1px -1px 0px #12295d; box-shadow: 0px 0px 2px #333333; -pie-background: linear-gradient(rgba(48, 48, 48, 1) 45%, rgba(0, 0, 0, 1)); position: relative; behavior: url(“http://www.gayparis4u.com/wp-content/plugins/maxbuttons/pie/PIE.htc”); }
Looks like the CSS hasn’t refreshed. You can help that out by changing the ?ver= number in the header.php file.
great all working perfectly now.
K
Excellent, if you like the plugin I hope you’ll consider writing us a nice review here: http://wordpress.org/support/view/plugin-reviews/maxbuttons
If not that’s totally fine. Thanks!
The topic ‘Element style is missing required attribute scoped.’ is closed to new replies.