Ok so i guess ill just let the coding speak for itself.
The password div is not being recognized, can anyone help?
I want the login to be in a straight line.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<title>Lito's page</title>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="description" content="Description" />
<meta name="keywords" content="Keywords" />
<meta name="author" content="Enlighten Designs" />
<style type="text/css" media="all">@import "css/master.css";</style>
</head>
<body>
<div id="bg">
<div id="login_bg">
<div id="username">
<input class="username" type="text" size="12" value="Username" />
</div>
<div id="password">
<input class="password" type="password" size="12" value="Password" />
</div>
<input class="submit" type="image" value="Go" src="L:\Lego\images\login\submit.png" />
</div>
</div>
</div>
</body>
</html>
Code:
html, body {
margin: 0;
padding: 0;
}
P {
font-family: Arial, Verdana, Helvetica;
color: #FFFFFF;
font-size: 12px;
}
#bg {
width: 100%;
background-image: url(../images/background/bg.png);
height: 791px;
}
#INPUT {
border-style:solid;
border-color: Gray;
border-width: 1px;
width: 200px;
padding: none;
}
#login_bg {
width: 514px;
background-image: url(../images/login/login_bg.png);
height: 122px;
float: right;
}
#username {
width: 125px;
margin-left: 75px;
margin-right: 0px;
margin-top: 20px;
margin-bottom: 0px;
}
#username INPUT[type='text']
border-bottom: none;
border-left: none;
padding-bottom: 0px;
padding-left: 0px;
width: 5px;
padding-right: 0px;
background-image: url(../images/login/input_field.png);
height: 50px;
border-top: none;
border-right: none;
padding-top: 0px;
}
.password {
float: right;
width: 50px;
margin-left: 80px;
margin-right: 0px;
margin-top: 20px;
margin-bottom: 0px;
}
#password INPUT[type='text']
border-bottom: none;
border-left: none;
padding-bottom: 0px;
padding-left: 0px;
width: 5px;
padding-right: 0px;
background-image: url(../images/login/input_field.png);
height: 50px;
border-top: none;
border-right: none;
padding-top: 0px;
}
.submit INPUT[type='submit']
border-bottom: none;
border-left: none;
padding-bottom: 0px;
padding-left: 0px;
width: 50px;
padding-right: 0px;
background: url(../images/login/submit.png);
height: 58px;
border-top: none;
border-right: none;
padding-top: 0px;
}