The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

LOGIN CODE HTML

2 posters

Go down

LOGIN CODE HTML Empty LOGIN CODE HTML

Post by webmasterdn May 18th 2011, 4:55 am

Hi guys, I need help with sorting out a code here

<form action="http://YOURSITEURL/login.forum" method="post"><table cellspacing="1" cellpadding="3" border="0"><tr><td width="45%" align="right"> Username:</td><td><input type="text" name="username" size="25" maxlength="40" /></td></tr><tr><td align="right">Password:</td><td><input type="password" name="password" size="25" maxlength="32" /></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input type="checkbox" name="autologin" checked="true" /></td></tr><tr align="center"><td colspan="2"><input type="submit" class="mainoption" name="login" value="Log in" /></td></tr></table></form>

This is a code I search and found here.

But i need it to be a horizontal line with only the login, password, and the button.

This is the one I have but its different.

<div style="position: absolute; top: 73px; margin-left: 575px;"><form action="http://YOURSITEURL.com/apps/auth/doLogin" name="loginForm" method="post" class="clearfix">
<input name="next" value="apps/profile/profilePage?id=%%" type="hidden">
<font color="Black">
<input gtbfieldid="4" name="email" style="color:gray; border: groove silver 2px; height:20px;" maxlength="100" alt="Email" title="Email" placeholder="Email" id="email" width="100px;" type="text" height="20">
<input name="password" style="color:gray; border: groove silver 2px; height:20px;" alt="Password" placeholder="Password" title="Password" id="pass" type="password" height="20">
<input title="Login" id="sign_in_leaf" style="width:60px; height:20px; font: normal 14px Arial !important; color:white; background: url(https://i.servimg.com/u/f62/13/32/17/42/login10.png) !Important; " type="submit" value="Login" align="right"></div></form>

I'm not gonna try to advertise backlinks here so I'm gonna post my site like this. konamiworldchampionship(dot)com and my forum konamiwc-forums(dot)com

I need the Button code to be able to work with the forum's login so users can use the main website should they want to login to the forum.


LOGIN CODE HTML Foruml10

Please help me with this bug. I will be greatly appreciated if you do. I have tried switching url for the second link it doesn't work that way and even try to take some stuffs out. Maybe the person that creates the first code can make one horizontally that aligned simply to login and the boxes.
webmasterdn
webmasterdn
New Member

Posts : 11
Reputation : 0
Language : Queens, New York

http://konamiwc.ogameplayer.com/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by Guest May 18th 2011, 6:32 am

so wait you want a horizontal login bar thing or is there a bug with your login bar thing
avatar
Guest
Guest


Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by webmasterdn May 18th 2011, 4:34 pm

Guest wrote:so wait you want a horizontal login bar thing or is there a bug with your login bar thing

Yes please Smile

The second code is my version of horizontal login but it doesnt work with the first one. The first one is not horizontal.

So what Im saying is that I got a horizontal which doesn't work with the forumotion code, or the first code which I found here, maybe someone can make it horizontal.
webmasterdn
webmasterdn
New Member

Posts : 11
Reputation : 0
Language : Queens, New York

http://konamiwc.ogameplayer.com/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by Gangstar15 May 18th 2011, 5:25 pm

You want it like this:
Code:
<form action="http://www.konamiwc-forums.com/login" method="post"><input type="text" name="username" size="25" maxlength="40" /><input type="password" name="password" size="25" maxlength="32" /><input type="submit" class="mainoption" name="login" value="Log in" /></form>
Gangstar15
Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by webmasterdn May 19th 2011, 3:45 am

Thanks gangstar15.

Now I re-modified it because the login button was still going down.

Code:
<div style="position: absolute; top: 73px; margin-left: 575px;"><form action="http://www.konamiwc-forums.com/login" method="post"><input type="text" name="username" size="15" maxlength="40" /><input type="password" name="password" size="15" maxlength="32" <input type="submit" class="mainoption" name="login" value="Log in" /></form>

Is there a way you can space the boxes and the button at least 2 pixel away from eachother?
webmasterdn
webmasterdn
New Member

Posts : 11
Reputation : 0
Language : Queens, New York

http://konamiwc.ogameplayer.com/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by Gangstar15 May 19th 2011, 10:11 am

Code:
<div style="position: absolute; top: 73px; margin-left: 575px;" class="login-form"><form action="http://www.konamiwc-forums.com/login" method="post"><span><input type="text" name="username" size="15" maxlength="40" /></span><span><input type="password" name="password" size="15" maxlength="32"/></span> <span><input type="submit" class="mainoption" name="login" value="Log in" /></span></form>
CSS:
Code:
.login-form span{padding:2px;}
Gangstar15
Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by webmasterdn May 19th 2011, 4:28 pm

works like a charm Very Happy Thanks a lot mate

P.S. How did you know the the site uses CSS?
webmasterdn
webmasterdn
New Member

Posts : 11
Reputation : 0
Language : Queens, New York

http://konamiwc.ogameplayer.com/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by Gangstar15 May 19th 2011, 5:10 pm

What site Very Happy
btw all sites use CSS Razz
Gangstar15
Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

LOGIN CODE HTML Empty Re: LOGIN CODE HTML

Post by webmasterdn May 19th 2011, 5:26 pm

I didn't know that because I only uses webs.com so far...
webmasterdn
webmasterdn
New Member

Posts : 11
Reputation : 0
Language : Queens, New York

http://konamiwc.ogameplayer.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum