![]() |
Adding CSS to certain textfields |
Post Reply ![]() |
Author | |
Aeon ![]() Newbie ![]() ![]() Joined: 18-June-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 04-July-2006 at 10:26pm |
In login.asp for checkout, the following type of code is used to generate textfields.
<%textbox "zip", pZip, 12, "textbox"%> <%validate "zip", "required"%> How can I add a css attribute to these textboxes? <input class="iform" name="name" size="30" value="" class="textfields"> |
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
Edit the includes/validation.asp routine. Search for the textbox subroutine and add the class to the code that generated the input fields.
|
|
![]() |
|
Aeon ![]() Newbie ![]() ![]() Joined: 18-June-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
It already had a class=iform but I couldn't find any iform CSS selector anywhere...
so I just replaced it with my own CSS. Thanks for the help! |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |