VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 CSS with VPASP
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jonmadrid
VP-ASP New User

USA
192 Posts

Posted - September 29 2003 :  22:11:26  Show Profile  Visit jonmadrid's Homepage  Reply with Quote
Does anyone know of an easy (or at least not incredibly complicated) way to apply CSS formatting to all the form buttons within the cart? I can apply the style to the 'input' element but that also formats text boxes, radio buttons, etc. I have specific formatting I want for the buttons.... Anyone know how?

Thanks!

Jon Madrid

Cam
VP-ASP Super User

Australia
361 Posts

Posted - October 03 2003 :  23:23:32  Show Profile  Visit Cam's Homepage  Reply with Quote
If you have a spare hour you can do this. I know it sounds a pain but once you have done it your work is going to be that much easier.

Simply do a site wide search on:

<input

This should bring up all submit buttons.

In our VPASP Extension Pac we have changed all text and form buttons to be controlled by individual css tags.

If you change each reference to something as foolws:

<input CLASS=submit-button

The class "submit-button" is located in shop.css.

But ensure you only add this for the submit, reset and delete buttons and not the text field references.

Cheers,
Cam

*************************************
Cam Flanigan
YourVirtualStore Sales
e-mail:
http://www.vpasp.com/sales/shopcustcontact.asp
web: http://www.yourvirtualstore.net

Build you own YourVirtualStore!!!
www.yourvirtualstore.net
*************************************
Go to Top of Page

candude
VP-ASP New User

Canada
77 Posts

Posted - September 19 2004 :  20:34:29  Show Profile  Visit candude's Homepage  Reply with Quote
LOL.. took me 20 min.. I suggest everyone should download TextPad - excellent text editor.. can handle dozen of files at the same time..

also search for "<select" - and add class=yourclass - this would take care ofthe e drop down boxes.

alex

-----------------------
VP-ASP: Installation, Customization and Security
http://www.sublet.net/vpasp/
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - September 20 2004 :  17:50:09  Show Profile  Visit devshb's Homepage  Reply with Quote
in case anyone's curious...

I did a search for "submit", "reset", and "button", that managed to catch them all too.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000