You are viewing our Forum Archives. To view or take place in current topics click here.
Simple User Login Page [Html][Css]
Posted:

Simple User Login Page [Html][Css]Posted:

HaloUK
  • TTG Fanatic
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
Just a simple login page i made for an upcoming project. Note that this is the first login screen I have made.

Could do with some feedback so check it out here:http://halouk.info/login/login.php


[ Register or Signin to view external links. ]

Thanks


Last edited by HaloUK ; edited 2 times in total
#2. Posted:
trollster
  • New Member
Status: Offline
Joined: Mar 15, 201212Year Member
Posts: 3
Reputation Power: 0
Status: Offline
Joined: Mar 15, 201212Year Member
Posts: 3
Reputation Power: 0
it's nice but take out a lot of the margin-top it looks disgusting at 200, drop it down to about 20.
#3. Posted:
Innovations
  • TTG Warrior
Status: Offline
Joined: May 18, 201112Year Member
Posts: 9,522
Reputation Power: 423
Status: Offline
Joined: May 18, 201112Year Member
Posts: 9,522
Reputation Power: 423
You put "Forgot you Password" missed out your there. Not bad though maybe center it up a bit and the "Login" a bit more to the right also the "submit box" a little to the right and add "remember password" but overall a good login page clean and simple.
#4. Posted:
HaloUK
  • TTG Fanatic
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
trollster wrote it's nice but take out a lot of the margin-top it looks disgusting at 200, drop it down to about 20.

changed it to 20
#5. Posted:
Nic
  • Retired Staff
Status: Offline
Joined: Jun 08, 201013Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
Motto: I've been watching you all day.
Status: Offline
Joined: Jun 08, 201013Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
It's decent for your first design. Try using a table for the input fields so everything is nicely aligned. Maybe add a checkbox saying "Remember me" between the password field and submit button ;)

PS. not that it is a big deal considering it's end of the code anyway, but for the sake of document validity you have one </div> tag too many.
#6. Posted:
HaloUK
  • TTG Fanatic
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
Status: Offline
Joined: Feb 24, 201014Year Member
Posts: 4,314
Reputation Power: 252
Nicasus wrote It's decent for your first design. Try using a table for the input fields so everything is nicely aligned. Maybe add a checkbox saying "Remember me" between the password field and submit button ;)

PS. not that it is a big deal considering it's end of the code anyway, but for the sake of document validity you have one </div> tag too many.

Added the remember me box and deleted the </div>, going to add the table later and thanks for your feed back
#7. Posted:
ChromeWolf
  • New Member
Status: Offline
Joined: Dec 18, 201112Year Member
Posts: 33
Reputation Power: 1
Status: Offline
Joined: Dec 18, 201112Year Member
Posts: 33
Reputation Power: 1
Instead of having two files, you can just start off your code with

if($_SERVER['REQUEST_METHOD'] == $_POST) {
//the code for the login and etc.
}

and you don't need 2 files
#8. Posted:
irMarcus
  • 1000 Thanks
Status: Offline
Joined: Feb 12, 201113Year Member
Posts: 2,958
Reputation Power: 134
Status: Offline
Joined: Feb 12, 201113Year Member
Posts: 2,958
Reputation Power: 134
i would use it!! Its super clean!!
#9. Posted:
Phancy
  • TTG Senior
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 1,065
Reputation Power: 54
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 1,065
Reputation Power: 54
Nice and clean, should add forgot Username just in-case someone is coming back from a long vacation
#10. Posted:
Nic
  • Retired Staff
Status: Offline
Joined: Jun 08, 201013Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
Motto: I've been watching you all day.
Status: Offline
Joined: Jun 08, 201013Year Member
Posts: 2,466
Reputation Power: 1070
Motto: I've been watching you all day.
ChromeWolf wrote Instead of having two files, you can just start off your code with

if($_SERVER['REQUEST_METHOD'] == $_POST) {
//the code for the login and etc.
}

and you don't need 2 files

The Request Method returns a string (e.g. post, get), so checking it against an array ($_POST) won't do anything. Change $_POST to 'POST' and it will work. Do some research first before posting stuff like that ;)
Using the Request Method is a good tip though, will be useful for him if he decides to make the login work.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.