Support Forums

Submit Button is not aligned in centre

This is a discussion on Submit Button is not aligned in centre within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hi. When user clicks the register button (file called is userjoin.php).... Submit button & radiobutton for terms & condition goes ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 03-31-2010, 09:31 AM   #1
Customer
 
Join Date: Oct 2009
Location: India
Posts: 51
Rep Power: 9
bhavdip is on a distinguished road
Default Submit Button is not aligned in centre

Hi.
When user clicks the register button (file called is userjoin.php).... Submit button & radiobutton for terms & condition goes to extreme right. How can I bring it in center of the form? and if i remember before few days it was in centre. I really dont know how it show on the right side now?
Your help will really be appreciated.
__________________
Using V4.1.10 Developer
Evo Style Templates from www.Templatecodes.com
bhavdip is offline   Reply With Quote
Old 03-31-2010, 10:26 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Install the specific template file again. To move things around or resize them, you need to look at the css styles being applied to those elements. You can do this easily in Firefox with the FREE web developer plugin by using the css outline tool. Then you can determine what needs to be modified in the css style sheet or indeed if you need to create some new styles and apply them to the specific template file.

The problem here is you are not posting urls to look at nor screenshots so we can only answer in general ways.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 03-31-2010, 11:00 AM   #3
Customer
 
Join Date: Oct 2009
Location: India
Posts: 51
Rep Power: 9
bhavdip is on a distinguished road
Default

url is www. textilenow . com. Please Help.
__________________
Using V4.1.10 Developer
Evo Style Templates from www.Templatecodes.com
bhavdip is offline   Reply With Quote
Old 03-31-2010, 11:37 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

change this in userjoin.tpl

<td class="formleft"> </td>
<td class="formright">
{if $dis_terms=="Y"}
<input type="checkbox" name="terms" value="1" /> {$smarty.const.LANG_AGREE_TERMS}
{/if}
</td>
</tr>
<tr>
<td class="formleft"> </td>
<td class="formright">
<input name="action" type="hidden" id="action" value="join" />
<input name="submit" type="submit" id="submit" value="{$smarty.const.LANG_SUBMIT}" />
</td>

to this


<tr>
<td>
<input name="terms" value="1" type="checkbox"> Please click here if you are in acceptance of our terms and conditions. To review our terms and conditions, please <a href="javascript:showterms();">click here</a>.
</td>
</tr>
<tr>
<td class="formright">
<input name="action" id="action" value="join" type="hidden">
<input name="submit" id="submit" value="Submit" type="submit">
</td>
</tr>

You may want to put a <br /> in to create an extra line as you are using the freecap module.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 03-31-2010 at 02:00 PM.
seymourjames is offline   Reply With Quote
Old 03-31-2010, 12:06 PM   #5
Customer
 
Join Date: Oct 2009
Location: India
Posts: 51
Rep Power: 9
bhavdip is on a distinguished road
Default

Thank you for your quick reply Seymour. I can see the Submit button @ centre, but I also have to get the Terms and condition button in center. How can I do that?
__________________
Using V4.1.10 Developer
Evo Style Templates from www.Templatecodes.com
bhavdip is offline   Reply With Quote
Old 03-31-2010, 01:52 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Take out

<td class="formleft"> </td>

from your code which is still sitting there.

Get a copy of Web developer for Firefox and all this becomes much easier. You can highlight css, edit css and html to see their effects before committing it to the code.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 03-31-2010 at 02:00 PM.
seymourjames is offline   Reply With Quote
Old 03-31-2010, 01:55 PM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Try this. Change

<td class="formright">

to

<td >

Get a copy of Web developer for Firefox and all this becomes much easier. You can highlight css, edit css and html to see their effects before committing it to the code.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 04-01-2010, 03:14 AM   #8
Customer
 
Join Date: Oct 2009
Location: India
Posts: 51
Rep Power: 9
bhavdip is on a distinguished road
Default

Thank You Seymour for your quick support. I have downloaded the webdeveloper for firefox. Do you think firbug will be really help full in this case?
__________________
Using V4.1.10 Developer
Evo Style Templates from www.Templatecodes.com
bhavdip is offline   Reply With Quote
Old 04-01-2010, 05:18 AM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Both are good but I gave you the solution.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Submit Button to Image industrialpost Templates, HTML, CSS, and Design Help 16 05-31-2009 03:52 PM
Contact Box is never Aligned cathouse911 Technical Support 3 11-22-2008 08:03 PM
<button> as Submit button bowers01 Templates, HTML, CSS, and Design Help 1 09-27-2008 05:21 AM


All times are GMT -4. The time now is 04:22 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0