Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Remove button css

Aloittaja Krashsite, marraskuu 09, 2013, 12:33:41 AP

« edellinen - seuraava »

Sir Osis of Liver


How to remove css formatting from one button?



input, button, select, textarea
{
font: 95%/115% verdana, Helvetica, sans-serif;
color: #8c8c8c;
background: #2e2e2e;
border: 1px solid #a28875;
padding: 2px;
}



When in Emor, do as the Snamors.
                              - D. Lister

Arantor

Override in that one button. Give it a class that isn't the button_submit class...
Holder of controversial views, all of which my own.


Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

Got rid of the background and border, but can't eliminate the hover effect -



.paypal_button
{
border: 0;
background: #222222;
}

a.paypal_button:link, a.paypal_button:visited, a.paypal_button:hover

{
text-decoration: none;
}



First part works, second part doesn't (just a guess).  Hover effect causes everything below the button to move down a couple of pix.

Also having an annoying problem (again) with button form adding space below it.



When in Emor, do as the Snamors.
                              - D. Lister

Antechinus


Sir Osis of Liver


This worked -



.paypal_button
{
border: 0;
background: #222222;
}

.paypal_button:hover
{
border: none;
text-decoration: none;
}



When in Emor, do as the Snamors.
                              - D. Lister

Antechinus

Told you they weren't anchors. :D

Advertisement: