UI Designing with CSS: Example login form

May 18, 2007

After the dot com bubble, start-ups are growing like mushrooms everywhere. And, 80% of these being either in Consumer Internet or Mobile.

So what do these web-based start-ups focus on mostly?

User Experience. Users have become powerful and above all decision makers. If users like the service, UI, application they will support it else they will kill them.

Talking about user experience, Its very important to understand what would a user appreciate? I will explain this taking a simple example of login form.

A simple login form would consits of normal buttons and a table.

Enter Name: <input type=”text”>

Enter Email: <input type=”text”>

<input type=”button” value=”Submit”>

No big deal. A simple two text boxes and a submit button. Simple?

Okay, so why not make small yet sweet changes to this code?

Through adding CSS{Cascading Style Sheets}!!!

Lets add some style on mouseover and mouseout operations.

<input type=”button” class=”Button” onmouseover=”this.className=’ButtonHover’” onmouseout=’Button’”>

In the style section just add the following piece of information.

Button {
 background:green;
}

ButtonHover{
Background:lightgreen;
}

This would add the following functionality to our code.

Whenever the mouse is moved over the button the background is set to lightgreen and whenever removed again back to green.

Though there is no big deal here, the thing that needs to be taken care is that small useful things matter and count.

Cheerz
Sridhar

Entry Filed under: CSS, Designing, How-To's, Techie, Tutorial, UI, Web 2.0. .

2 Comments Add your own

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Pages

Quote of the Day

"A Dream is not something you see in your dreams, but Dream is something which will not let you sleep"

Top Posts

Recent Posts

Recent Comments

Sanjeev on Introducing iWinkr Studio
braynx on Contact Me
swiss on Advanced Word Count for P…
derek on Tutorial: How to store UTF8 (i…
Anurag Litoriya on Tutorial: How to store UTF8 (i…
Juan Felipe on Simple Ajax with YUI!!!
hiteshsathawane on Contact Me
hiteshsathawane on Tutorial: How to store UTF8 (i…

Take Some Feeds

Powered by FeedBurner

Some More Feeds

Categories

Top Clicks

Lyrics Of The Week

From the top to the bottom Bottom to top I stop At the core I've forgotten In the middle of my thoughts Taken far from my safety The picture is there The memory won't escape me But why should I care..... Forgotten, Linkin Park

Archives

My Tag Cloud

AJAX Autobiography BarCamp Blogging CSS Designing Education Entrepreneurs FOSS Stuff Fun General How-To's India 2.0 Indictrans Team Inspirational Javascript Localization MySQL News OpenIndx Personal PHP Script.aculo.us Social Techie Tutorial UI Uncategorized Unconferences Web 2.0

Calendar

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Blog Stats

Categories

Spam Blocked

FeedBurner

Enter your email address:

Delivered by FeedBurner

Digg This

Links