viagra indien forum 
vente viagra en pharmacie 
livraison rapide cialis 
acheter viagra professionnelle en france 
delai rapide pour livraison viagra 
meilleur viagra sans ordonnance avis 
achat viagra en suisse 
levitra poudre 
acheter cialis sur la net 
achat cialis générique avec paiement carte bleu 
viagra efr 
viagra pilule 
viagra h 
achat viagra lyon 
levitra pas chere 
comprar viagra sin receta barcelona viagra pris viagra ohne rezept erfahrungen cialis farmacia ahumada viagra des indes compra cialis mg levitra priser acquistare viagra su internet acheter sildenafil milligrams tadalafil generika indien venta viagra generica viagra paypal cuanto vale cialis 20 viagra rezeptfrei frankreich viagra farmacia online

CSS Styling Buttons Problem with Underlined Text

I ran into the challenge the other day to style a<button> element to make it look like a link (with underline and everything).

Unfortunately, the <button> element does not react to text-decoration: underline;

But according to a discussion at the CSS Creator forum, there is a way out:

I was just messing around with it and for some reason this doesn’t work:

input {text-decoration:underline;}

but this does:

input {text-decoration:underline;float:left;}





Don’t ask me… I can’t explain this one.


I ended up implementing it as


which also works fine. Here is my final rules for styling buttons as links

.clickable, button.tertiary, input.tertiary{
  color: #339;
  text-decoration: underline;
  display: inline-block; /* else underline won't work */
  cursor: pointer;
  border: none;
  background-color: transparent;
  font-size: 1em;
  padding: 0;
.clickable:hover, button.tertiary:hover, input.tertiary:hover{
  text-decoration: underline;
  color: #669;

2 Responses to “CSS Styling Buttons Problem with Underlined Text”

  1. Paula Says:

    Does this work across all browsers?

    It sounds a little hacky…

  2. Ajay Says:

    I tried it but didn’t work in IE8.