Blowfelt82
asked on
Format login control button.
I have the following code to make a button...
<a class="button" href="#" onclick="this.blur();"><sp an>Login</ span></a>
The CSS on this element styles my button how I would like it (but note that I am not using an ASP.NET/HTML button control). I have used this styling throughout my website. I have placed a login control onto my page but the styling of the 'Login' button is useless and I would like to make this in line with the rest of the buttons on my site. How can I adapt the line above to submit the login control?
<a class="button" href="#" onclick="this.blur();"><sp
The CSS on this element styles my button how I would like it (but note that I am not using an ASP.NET/HTML button control). I have used this styling throughout my website. I have placed a login control onto my page but the styling of the 'Login' button is useless and I would like to make this in line with the rest of the buttons on my site. How can I adapt the line above to submit the login control?
ASKER
The CSS class I use is for an anchor element not a button element so I dont think this would work.
Have you tried? Styles work for all controls.
It depends on how you style it.
It depends on how you style it.
ASKER
Just tried it, but didnt work... I dont think the CSS properties I use can be applied to buttons
Use <asp:LinkButton...> instead.
ASKER
Ok, but how would I get the LinkButton to submit a login form?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
Open in new window