Print Page | Close Window

Adding CSS to certain textfields

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=287
Printed Date: 28-September-2024 at 9:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding CSS to certain textfields
Posted By: Aeon
Subject: Adding CSS to certain textfields
Date 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"> 






Replies:
Posted By: netprofits
Date Posted: 04-July-2006 at 11:13pm
Edit the includes/validation.asp routine. Search for the textbox subroutine and add the class to the code that generated the input fields.

-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Aeon
Date Posted: 04-July-2006 at 11:20pm
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!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net