The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

LOGIN CODE HTML

View previous topic View next topic Go down

LOGIN CODE HTML

Post by webmasterdn on 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://i62.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.




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
New Member

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

http://konamiwc.ogameplayer.com/

Back to top Go down

Re: LOGIN CODE HTML

Post by Guest on 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

Guest
Guest


Back to top Go down

Re: LOGIN CODE HTML

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

kamz89 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
New Member

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

http://konamiwc.ogameplayer.com/

Back to top Go down

Re: LOGIN CODE HTML

Post by Gangstar15 on 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
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: LOGIN CODE HTML

Post by webmasterdn on 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
New Member

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

http://konamiwc.ogameplayer.com/

Back to top Go down

Re: LOGIN CODE HTML

Post by Gangstar15 on 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
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: LOGIN CODE HTML

Post by webmasterdn on 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
New Member

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

http://konamiwc.ogameplayer.com/

Back to top Go down

Re: LOGIN CODE HTML

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

What site Very Happy
btw all sites use CSS Razz

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: LOGIN CODE HTML

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

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

webmasterdn
New Member

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

http://konamiwc.ogameplayer.com/

Back to top Go down

View previous topic View next topic Back to top


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