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
 Registration form
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-ASP Super User

202 Posts

Posted - September 19 2008 :  10:03:18  Show Profile  Reply with Quote
The default registration page shopcustregister.asp has no space between Firstname, last name, address, city , etc, etc.

I'd like to give more space so that it is easier to read and type. Could anyone tell me how to do it?

Thanks in advance.

madbug
VP-ASP New User

130 Posts

Posted - September 20 2008 :  02:55:42  Show Profile  Reply with Quote
Do you mean you need to add a row between the Firstname and last name?
If so, you can edit the shopcustomerform.asp

locate the code:
CreateCustRow getlang("langCustFirstname"), "strfirstname", strfirstname,"Yes"
CreateCustRow getlang("langCustLastname"), "strlastname", strlastname,"Yes"

modify it to:

CreateCustRow getlang("langCustFirstname"), "strfirstname", strfirstname,"Yes"
response.write TableRow
response.write TableColumn & " "
response.write tableColumnEnd
response.write TableColumn & " "
response.write tableColumnEnd
response.write TableRowEnd
CreateCustRow getlang("langCustLastname"), "strlastname", strlastname,"Yes"

save the file. If you need to create other row..just add the above response.write code, it will create a row in between
Go to Top of Page

elvis
VP-ASP Super User

202 Posts

Posted - September 20 2008 :  03:28:01  Show Profile  Reply with Quote
Thanks madbug.
The code is like this (below) in shopcustregister.asp. Is there any way I can add height="30" or class="myheight" in <td> tag? This will give me more control over the design.
Thanks in advance.


-----------------------------------------
<div class="std_table">
<table border="0" cellpadding="3" cellspacing="3" class="tbl_customer" align="center">
<tr>
<th>* First Name </th>
<td class="al vt" width="150"><input class="txtfield" size="20" name="strfirstname" value="" /></td></tr>
<tr><th>* Last Name </th>
<td class="al vt" width="150"><input class="txtfield" size="20" name="strlastname" value="" /></td></tr>
<tr><th>* Address </th><td class="al vt" width="150"><input class="txtfield" size="20" name="straddress" value="" /></td></tr>
<tr><th>* City </th>
<td class="al vt" width="150"><input class="txtfield" size="20" name="strcity" value="" /></td></tr>
<tr><th>* State </th>
<td class="al"><select class="txtfielddropdown" name="strstate" size="1">
<option value="" selected="selected">Select</option>
<option value="None" >None</option>
....
Go to Top of Page

madbug
VP-ASP New User

130 Posts

Posted - September 20 2008 :  03:38:49  Show Profile  Reply with Quote
Hi,

Please clarify are you refer to the shopcustomerform.asp or the shopcustregister.asp ? If you are talking about adding a new css class to control the <td> height, yes you should be able to do that by adding the new css in shop.css file. and only apply the new css to the <td class="newcss"></td>
But currently the shopcusteregister.asp table already had a css class apply to it
<td class="al vt" width="150">

My suggestion is don't alter the .al or .vt class, but create a new css class with include the alignment, so that you won't be mess up the default css. and just change it to
<td class="mynewcss" width="150">

Hope that will help.
Go to Top of Page

elvis
VP-ASP Super User

202 Posts

Posted - September 20 2008 :  04:21:25  Show Profile  Reply with Quote
Yes, I am talking about shopcustregister.asp and the above code is from Customer Registration page.

I am not sure which file and where I can insert css.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000