Ad
Annoying Blue Color For Button In HTML
Screen shot of problem
I am trying to get rid of this annoying blue color in my Bootstrap button supported with Bootstrap. First, there was an underline with blue color, but when add text-decoration: none
underline is cleared but still blue color.
<style type="text/css">
a, a:link, a:visited, a:hover { text-decoration:none; }
</style>
<button type="button" class="btn btn-outline-dark">
<a target="_blank" rel="nofollow noreferrer" href="https://www.instagram.com/freyahomebodrum_mertticaret/"
target="_blank">Instagram</a>
</button>
But I still have the blue color as in the screenshot. I have tried variations using span but that does not help either. Am I doing something wrong above?
Thank you in advance.
Ad
Answer
try this change the color property of anchor tag like this.
a{
color: #000; /* this will change the color to black
}
Ad
source: stackoverflow.com
Related Questions
- → How to update data attribute on Ajax complete
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → ReactJS - Forwarding input value to parent component
- → Inheriting State in react components
- → Render array of inputs in react
- → How to handle onclick event of a button?
- → Javascript loop indexing issue
- → How to call react js function or pass arguments to react js from normal JS/HTML?
- → Replacing child react component with another based on user intreaction or button click
- → Stop setInterval timer when user clicks on another DOM Element
- → backend list item: how to get the item model id?
- → How to enable http request / internet acces on samsung gear s2
- → PHP How to open 2 links from one click "_self "and "_blank" different url's
Ad