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:
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
#2. Posted:
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.
- 0useful
- 1not useful
#3. Posted:
Status: Offline
Joined: May 18, 201113Year Member
Posts: 9,522
Reputation Power: 423
Status: Offline
Joined: May 18, 201113Year 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.
- 0useful
- 0not useful
#4. Posted:
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
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jun 08, 201014Year 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, 201014Year 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.
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.
- 0useful
- 0not useful
#6. Posted:
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
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Dec 18, 201113Year Member
Posts: 33
Reputation Power: 1
Status: Offline
Joined: Dec 18, 201113Year 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
if($_SERVER['REQUEST_METHOD'] == $_POST) {
//the code for the login and etc.
}
and you don't need 2 files
- 0useful
- 0not useful
#8. Posted:
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!!
- 0useful
- 0not useful
#9. Posted:
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
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Jun 08, 201014Year 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, 201014Year 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.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.