CSS changes not staying
-
Hi
I am trying to change the look of the button. Here is the original code:input[type=”submit”], input[type=”reset”], input[type=”button”] {
padding: 4px 15px;
border-radius: 15px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
background: linear-gradient(#FCFCFC, #F3F3F3) repeat scroll 0% 0% transparent;
border-width: medium medium 1px;
border-style: none none solid;
border-color: -moz-use-text-color -moz-use-text-color #DDD;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
color: #444;
font-family: “Open Sans”,sans-serif;
font-size: 13px;
}I’m trying to change it to:
input[type=”submit”], input[type=”reset”], input[type=”button”] {
padding: 1px 1px;
border-radius: 2px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
background: linear-gradient(#FCFCFC, #F3F3F3) repeat scroll 0% 0% transparent;
border-width: medium medium 1px;
border-style: none none solid;
border-color: -moz-use-text-color -moz-use-text-color #DDD;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
color: #444;
font-family: “Open Sans”,sans-serif;
font-size: 13px;
}I made the changes and they were working for a few hours, but now they have reverted back to the original. I tried adding !important but no luck.
Hope you can help, thanks.
- The topic ‘CSS changes not staying’ is closed to new replies.