Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Duplicating this CSS for another control

I've bought this template
http://themeforest.net/item/unite-html-business-magazine-community-site/full_screen_preview/84401

and if you scroll down, there's a button. The CSS for it is button.btn and it renders as such

<button type="submit" class="btn"><span>Sign me up!</span></button>

Open in new window


I've used an ASP.Net login control that renders like this

     
 
<input type="submit" name="Login1$Login" value="Sign In" id="Login1_Login" class="btn">

Open in new window

                                                   
             
So I created a new CSS but mine renders as a standard submit button (those grey buttons) with a black line in the middle. See attached screenshot. So, what did I miss?

input.btn 
{
    padding: 0 28px 0 0; 
	margin-right:5px; 
	font-size: 1em; 
	text-align: center; 
	position: relative;
	cursor: pointer;
	overflow: visible;
	background: transparent url("../images/button-sprite.gif") no-repeat right -92px; }  

Open in new window

Doc1.docx
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial