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
 Input Class Border
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GTM
VP-ASP New User

USA
122 Posts

Posted - January 16 2003 :  21:11:16  Show Profile  Reply with Quote
Has anybody written individual classes for the different form items. I would like to remove the border from around the button that is part of the form items. I like the border that it applies around the forms. But, would like to remove it from the buttons that are a part of that input class in shop.css

Thank you,

Greg

Ken Miner
Starting Member

United Kingdom
7 Posts

Posted - January 19 2003 :  18:39:40  Show Profile  Visit Ken Miner's Homepage  Reply with Quote
Hi Greg

sounds like a simple one. Please give me more information or a URL so as I may be able to help you.

Thanks
Ken

Go to Top of Page

GTM
VP-ASP New User

USA
122 Posts

Posted - January 20 2003 :  00:16:30  Show Profile  Reply with Quote
Hi Ken,

Thanks, for replying. I'm still developing my site. I'm looking to write seperate border tags for the textboxes and checkboxes that are part of the form. On the input style in shop.css it includes all the form items including the buttons. Trying to get suggestions on the easiest way to remove the border around the buttons.

Greg

Go to Top of Page

Ken Miner
Starting Member

United Kingdom
7 Posts

Posted - January 20 2003 :  05:54:03  Show Profile  Visit Ken Miner's Homepage  Reply with Quote
Hi Greg

Not sure if this is what you are asking, but here goes.

In the shop.css create a new class called .buttons (or what ever you want to call it) like the sample below:

.buttons
{
FONT-FAMILY: Arial, Tahoma, Verdana;
FONT-WEIGHT: bolder;
FONT-SIZE: 12px;
COLOR: #FFFFFF;
}

So, now in the form where you want to use this class just change the class input to buttons. EG. <td class='buttons'>Your button</td>

The only other answer I can think of is that you may not have border set to 0 like in the following example:
<td class='input'><a href='myHref'><img src='myPictures/itemPicture'></a></td>

To make sure you don't get a border around the button, borders should be 0, like the following:
<td class='input'><a href='myHref'><img src='myPictures/itemPicture' border='0'></a></td>

If this does not help, give me more information with an example (if possible)

Thanks
Ken

Go to Top of Page

GTM
VP-ASP New User

USA
122 Posts

Posted - January 22 2003 :  19:14:25  Show Profile  Reply with Quote

Hi Ken,

Thanks for your advice, The way it looks in order to write a class for the buttons I would need to add it to the subroutines. Example for the continue button on checkout. Open shopcheckout.asp and add it in the Sub DisplayForm around this line.
shopbuttonreset getconfig("xbuttonreset"),LangCommonReset,""
Response.write "  "
shopbutton Getconfig ("xbuttoncontinue"),LangCommonContinue,"Action"
response.write "<br><br>"
I'm still researching, any advice would be helpful.

Greg



Go to Top of Page

Ken Miner
Starting Member

United Kingdom
7 Posts

Posted - January 22 2003 :  21:10:10  Show Profile  Visit Ken Miner's Homepage  Reply with Quote
Hi Greg

No, sorry total lost me now. I managed to get around borders round the buttons like the way I have stated. Must be on about two different things here.

Have a look at my cart and tell me which page you are trying to format. URL: http://www.cpkoi.com/shopping/shopaddtocart.asp

May be if you find the thing you are trying to do I could send you my file/script?

Sorry I could not help more.
Ken



Go to Top of Page

GTM
VP-ASP New User

USA
122 Posts

Posted - January 22 2003 :  21:59:42  Show Profile  Reply with Quote

Hi Ken,

That looks good, if you could send me sample of where you put it in the code and how you applied it to your buttons. I would greatly appreciate it.
[email protected]

Greg

Go to Top of Page

GTM
VP-ASP New User

USA
122 Posts

Posted - January 23 2003 :  21:22:01  Show Profile  Reply with Quote

Thanks Ken,

You just kept it simple by removing all of the original classes in shop.css and creating new ones. Finding where the code is created then making the changes in shop$colors.asp by adding the class that you specified in .css

Nice Job,

Greg

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000