Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Line Break

Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Host47

Established Member
Impact
27
In the code below how do i make the username box on one line and password on another, i've tried the old <br. but doesn't seem to work.

$template_login = <<< EOF
[jscript]
<div class="membarvalign" align="center">
<form name='LOGIN' action="[boardurl]?return=[siteurl]" method="post">
<input name="act" value="Login" type="hidden">
<input name="CODE" value="01" type="hidden">
<input name="referer" value="" type="hidden">
<input name="CookieDate" value="1" type="hidden">
<table border="0">
<tbody><tr><td align="center">Username:<br><input size="10" maxlength="15" name="UserName" value="" type="text"></td><td align="center">Password:<br>
<input size="10" name="PassWord" value="" type="password"></td>
</tbody></table>
<input value="Login" type="submit">
</form></div>

Thanks for looking in.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Code:
<div class="membarvalign" align="center">
<form name='LOGIN' action="[boardurl]?return=[siteurl]" method="post">
<input name="act" value="Login" type="hidden">
<input name="CODE" value="01" type="hidden">
<input name="referer" value="" type="hidden">
<input name="CookieDate" value="1" type="hidden">
<table border="0">
<tbody>
<tr>
<td align="center">Username:<br><input size="10" maxlength="15" name="UserName" value="" type="text">
</td>
</tr>
<tr>
<td align="center">Password:<br>
<input size="10" name="PassWord" value="" type="password">
</td>
</tr>
</tbody>
</table>
<input value="Login" type="submit">
</form></div>

That would put them on 2 different lines.
 
1
•••
do you have a demo what this does
 
0
•••
cheers for that filth@flexiwebhost, it works but it screws up my page, breaks up the graphics...so i guess the bos isn't big enough.


J_Ronaldo_19 - www.dfragnation.com the login part.
 
0
•••
take out the '<br>' after 'Username:' and 'Password:'
 
0
•••
still screws it up, take a look....
 
0
•••
the table is too small to have them on the same line... i think
 
0
•••
yueh that's what I thought....thnx anyway guys rep added...
 
0
•••
The reason the first example doesn't work is because the input fields are in separate table cells which are beside eachother.

You need to add "</tr><tr>" after the cell with the username.

Edit: there's also an error on your page, you can't have a <br> between table cells ...</td><br><td>... I think you're missing the closing tag of a <tr> as well.
 
Last edited:
0
•••
thanks :)
 
1
•••
the 1st example actually works better than yours did, it's just the table is too small to hold them on seperate lines as I 1st thought.
 
0
•••
you could edit the skin though
 
0
•••
J_Ronaldo_19 said:
you could edit the skin though
? what you mean m8
 
0
•••
i mean you could edit the website template to work
 
0
•••
too much work..lol it'll be ok as is i think.
 
0
•••
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back