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

Line Break

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
Close
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
Close
do you have a demo what this does
 
0
Close
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
Close
take out the '<br>' after 'Username:' and 'Password:'
 
0
Close
still screws it up, take a look....
 
0
Close
the table is too small to have them on the same line... i think
 
0
Close
yueh that's what I thought....thnx anyway guys rep added...
 
0
Close
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
Close
thanks :)
 
1
Close
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
Close
you could edit the skin though
 
0
Close
J_Ronaldo_19 said:
you could edit the skin though
? what you mean m8
 
0
Close
i mean you could edit the website template to work
 
0
Close
too much work..lol it'll be ok as is i think.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back