Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-11-2012, 02:28 AM   PM User | #1
ebookz
New Coder

 
Join Date: Nov 2012
Posts: 33
Thanks: 23
Thanked 0 Times in 0 Posts
ebookz is an unknown quantity at this point
Smile CSS Style sheet probelm ...help plzzzzzz



i'd like to know how to code this form css style sheet......? or tell me how to code this kind of "change password" by using CSS???Can anyone plzz help me to know that??


thanks a lot....
ebookz is offline   Reply With Quote
Old 11-11-2012, 09:13 AM   PM User | #2
Custard7A
Regular Coder

 
Custard7A's Avatar
 
Join Date: Jul 2010
Location: Australia
Posts: 269
Thanks: 32
Thanked 32 Times in 32 Posts
Custard7A is an unknown quantity at this point
You would style your buttons and text-inputs, just like you would style anything else. It looks like they are using those border-radius or what-not to dull their corners.
Custard7A is offline   Reply With Quote
Users who have thanked Custard7A for this post:
ebookz (11-13-2012)
Old 11-11-2012, 11:27 AM   PM User | #3
coothead
Senior Coder

 
coothead's Avatar
 
Join Date: Jan 2004
Location: chertsey, a small town 25 miles south west of london, england.
Posts: 1,555
Thanks: 0
Thanked 196 Times in 192 Posts
coothead will become famous soon enough
Hi there ebookz,

try it like this...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english"> 
<meta http-equiv="Content-Style-Type" content="text/css">

<title>password change</title>

<style type="text/css">
body {
    font-family:arial,sans-serif;
 }
#change-password {
    float:left;
    padding:4px 25px 25px;
    border:1px solid #e5e5e5;
    background-color:#f1f1f1;
    font-size:13px;
    color:#444;
 }
#change-password label {
    display:block;
    padding:18px 0 7px;
    font-weight:bold;
 }
#change-password a {
    display:block;
    margin:8px 0 0;
    color:#5e55d2; 
    text-decoration:none;
 }
#cpw,#npw,#cnpw {
    display:block;
    width:280px;
    border:1px solid #d9d9d9;
    font-size:22px;
 }
#submit {
    padding:5px 11px;
    margin:21px 5px 0 0;
    border:1px solid #3079ed;
    border-radius:4px;
    background-color:#4b8df9;
    font-size:11px;
    font-weight:bold;
    color:#fff;
 }
#cancel {
    padding:4px 10px;
    font-size:11px;
    font-weight:bold;
    color:#555;
 }
</style>

</head>
<body>

<form id="change-password" action="#">
<div>

<label for="cpw">Current password</label>
<input id="cpw" type="password">

<a href="#">Don't know your password?</a>

<label for="npw">New password</label>
<input id="npw" type="password">

<label for="cnpw">Confirm new password</label>
<input id="cnpw" type="password">

<input id="submit" type="submit" value="Change Password">
<input id="cancel" type="reset" value="Cancel">

</div>
</form>

</body>
</html>
coothead
coothead is offline   Reply With Quote
Users who have thanked coothead for this post:
ebookz (11-13-2012)
Old 11-13-2012, 02:34 AM   PM User | #4
ebookz
New Coder

 
Join Date: Nov 2012
Posts: 33
Thanks: 23
Thanked 0 Times in 0 Posts
ebookz is an unknown quantity at this point
@coothead :
thanks frnd..u have done a grt job....thanks so much.....I used ur code....

Last edited by ebookz; 11-13-2012 at 02:42 AM..
ebookz is offline   Reply With Quote
Old 11-13-2012, 08:41 AM   PM User | #5
coothead
Senior Coder

 
coothead's Avatar
 
Join Date: Jan 2004
Location: chertsey, a small town 25 miles south west of london, england.
Posts: 1,555
Thanks: 0
Thanked 196 Times in 192 Posts
coothead will become famous soon enough

No problem, you're very welcome.

coothead
coothead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:25 PM.


Advertisement
Log in to turn off these ads.