Reply To: Unwanted underline on hover on buttons in FF21.0

Homepage Community Forums General Unwanted underline on hover on buttons in FF21.0 Reply To: Unwanted underline on hover on buttons in FF21.0

#5189
Eric
Customer

    You need to add a class to the actual hyperlink (the “a” that wraps around it, not the “input”) and style it with text-decoration: none;

    Example, it should look like this (your html code) –

    <a class="front-button" href="/hire-me">
        <input type="button" class="button medium blue" value="Find out more">
    </a>

    and this is what the css should look like –

    .front-button:hover {
        text-decoration: none;
    }

    I created “front-button” as an example class for you. If you add this to your html and css it will work, I just tested it myself

    ….you could change this to anything you want…this is just a quick solution I came up with.


    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com