Author |
Topic |
|
elvis
VP-CART Super User
202 Posts |
Posted - September 19 2008 : 10:03:18
|
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-CART New User
130 Posts |
Posted - September 20 2008 : 02:55:42
|
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 |
|
|
elvis
VP-CART Super User
202 Posts |
Posted - September 20 2008 : 03:28:01
|
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> .... |
|
|
madbug
VP-CART New User
130 Posts |
Posted - September 20 2008 : 03:38:49
|
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.
|
|
|
elvis
VP-CART Super User
202 Posts |
Posted - September 20 2008 : 04:21:25
|
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. |
|
|
|
Topic |
|