narjis Posted October 6, 2011 Share Posted October 6, 2011 <form action="login/run" method="post"> <h2>Login to KPJ Idea</h2> <p>Don't have an IdeaStorm account?<br /> <a href="login/run">Register Now.</a> </p> <fieldset> <label>Email</label> <input type="text" name="email" class="txt-field-login" /> <label>Password</label> <input type="text" name="pass" class="txt-field-login" /> <div class="login-btn"> <div class="login-btn"><a href="#">Login</a></div> </div> </fieldset> </form> I am unable to pass the values using Login css image but can only pass it through <input type ="submit" /> How is it possible to use a css effecty on a button. Quote Link to comment https://forums.phpfreaks.com/topic/248534-passing-values-from-form-using-css-effect/ Share on other sites More sharing options...
trq Posted October 6, 2011 Share Posted October 6, 2011 There are no buttons in your code, making your post quite difficult to understand. Quote Link to comment https://forums.phpfreaks.com/topic/248534-passing-values-from-form-using-css-effect/#findComment-1276399 Share on other sites More sharing options...
narjis Posted October 6, 2011 Author Share Posted October 6, 2011 Sorry if I did'nt clear my self this part of the code <div class="login-btn"> <div class="login-btn"><a href="#">Login</a></div> </div> is tag but by I am unable to send form values so I replaced it with <input type="submit" value="Login" /> Is there any way I can applay this css on my submit button. Thanks for replying Quote Link to comment https://forums.phpfreaks.com/topic/248534-passing-values-from-form-using-css-effect/#findComment-1276521 Share on other sites More sharing options...
haku Posted October 11, 2011 Share Posted October 11, 2011 You just apply the CSS to your submit button. Quote Link to comment https://forums.phpfreaks.com/topic/248534-passing-values-from-form-using-css-effect/#findComment-1278129 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.