CSS ISSUE with HTML -
i have color issue css. when put href in link font color changes grey there no grey color in class in css. code below.
html <a class="css_button_addhrs" >add hours</a>
when add href in tag changes font color of add hours grey should white. idea? there no other grey in css.
css .css_button_addhrs { font-size: 14px; font-family: arial; font-weight: bold; text-decoration: inherit; -webkit-border-radius: 8px 8px 8px 8px; -moz-border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px; border: 1px solid #d02718; padding: 9px 18px; text-shadow: 1px 1px 0px #810e05; -webkit-box-shadow: inset 1px 1px 0px 0px #f5978e; -moz-box-shadow: inset 1px 1px 0px 0px #f5978e; box-shadow: inset 1px 1px 0px 0px #f5978e; cursor: pointer; color: #ffffff; display: inline-block; background: -webkit-linear-gradient(90deg, #c62d1f 5%, #f24537 100%); background: -moz-linear-gradient(90deg, #c62d1f 5%, #f24537 100%); background: -ms-linear-gradient(90deg, #c62d1f 5%, #f24537 100%); background: linear-gradient(180deg, #f24537 5%, #c62d1f 100%); filter: progid:dximagetransform.microsoft.gradient(startcolorstr="#f24537",endcolorstr="#c62d1f"); } .css_button_addhrs:hover { background: -webkit-linear-gradient(90deg, #f24537 5%, #c62d1f 100%); background: -moz-linear-gradient(90deg, #f24537 5%, #c62d1f 100%); background: -ms-linear-gradient(90deg, #f24537 5%, #c62d1f 100%); background: linear-gradient(180deg, #c62d1f 5%, #f24537 100%); filter: progid:dximagetransform.microsoft.gradient(startcolorstr="#c62d1f",endcolorstr="#f24537"); text-decoration: none; color: #ffffff; } .css_button_addhrs:active { position: relative; top: 1px; color: #ffffff; }
this css creates button rounded corner in red color white font color. appreciated.
you have specify this. page links automatically change default color of links, have add this:
<style type="text/css"> a:link, a:visited, a:hover, a:active{ color: #fff; text-decoration: none; } </style>
what editor use code?
Comments
Post a Comment