?
Solved

Form Design

Posted on 2008-10-20
4
Medium Priority
?
217 Views
Last Modified: 2010-04-06
I've just been learning how to use style sheets and would like to be able to spice up the forms on a website I made. I really like how the login and password works on the www.me.com website. Would somebody be able to make an example on how that works so I could learn from it. Im also curious how they make the password input display a value of password, then when clicked it turns to a secure input.
0
Comment
Question by:KyleGreen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22763649
0
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22763657
If you are new to PHP and MySQL go check out this website....its one i recommend to everyone.

http://www.w3schools.com/php/default.asp
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 22763942
Basically they set a subclass :focus on the INPUT to react to focus.
input {
	font-family: Helvetica;
	background: #fff url('/my/auth/loginForm/en/images/login.png?0b2cb6aac0dfc01459b60bc237bd1b5253d0c6e4') repeat-x scroll 0 -430px;
	border-top: 1px solid #707070;
	border-bottom: 1px solid #cecece;
	border-left: 1px solid #ababab;
	border-right: 1px solid #ababab;
 	font-size: 13px;
 	padding: 4px 3px 1px;
}
 
input:focus {
{
  outline-color: #ced2d5;
  outline-style: solid;
  outline-width: 1px;
  background-color: #fefeee;
  outline-color: #87929e;
}

Open in new window

0
 
LVL 19

Accepted Solution

by:
NerdsOfTech earned 2000 total points
ID: 22765923
Extraction complete...
Try this without the background image css code line :)

input {
        font-family: Helvetica;
        border-top: 1px solid #707070;
        border-bottom: 1px solid #cecece;
        border-left: 1px solid #ababab;
        border-right: 1px solid #ababab;
        font-size: 13px;
        padding: 4px 3px 1px;
}
 
input:focus {
{
  outline-color: #ced2d5;
  outline-style: solid;
  outline-width: 1px;
  background-color: #fefeee;
  outline-color: #87929e;
}

Open in new window

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question