Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beta 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link href="style.css" rel="stylesheet" type="text/css" />
<div class="box">
<input type="text" class="loginuser" >
<input type="password" class="loginpass">
</div>
body {
margin: 0;
padding: 0px;
background-color: #fff;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11.5px;
}
.loginuser
{
width: 185px;
padding: 3px 3px 3px 3px;
margin: 50px 12px 12px 12px;
height:21px;
background: url(images/user.png);
color:#000;
border-width:0px;
font-size:13px;
border-style:solid;
text-indent:18px;
line-height: 15px;
}
.loginuser:hover
{
background: url(images/hoveruser.png);
}
.loginpass
{
width:185px;
padding: 3px 3px 3px 3px;
margin: 12px 12px 12px 12px;
height:21px;
background: url(images/pass.png);
color:#000;
border-width:0px;
font-size:15px;
text-indent:18px;
}
.loginpass:hover
{
background: url(images/hoverpass.png);
}
.box {
color: #672f8d;
background: url(/images/bbox.png) left top no-repeat;
width: 216px;
height: 209px;
float: left;
margin: 15px;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beta 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link href="style.css" rel="stylesheet" type="text/css" />
<div class="box">
<input type="text" class="loginuser" >
<input type="password" class="loginpass">
</div>
Сложи ги, и дай да видим ако нещо пак не става</head>
<body>
<form>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beta 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
<form action="?page=login&ext=login" method="post">
<input type="text" name="username" class="loginuser">
<input type="password" name="password" class="loginpass">
<input type="submit" name="submit" value="LOGIN" class="loginpass">
</form>
</div>
</body>
</html>
shterev каза:.loginuser:hover това също не работи , ако не си забелязал. пробвай с едно <br/> след инпутите да видим какво ще стане.
emagi каза:Еми сложи и двата класа еднакви маргини.Ти имаш:
а на другия клас имаш:.loginuser
{
width: 185px;
padding: 3px 3px 3px 3px;
margin: 50px 12px 12px 12px;
height:21px;
background: url(images/user.png);
color:#000;
border-width:0px;
font-size:13px;
border-style:solid;
text-indent:18px;
line-height: 15px;
}
Направи и двете с еднакви стойности:.loginpass
{
width:185px;
padding: 3px 3px 3px 3px;
margin: 12px 12px 12px 12px;
height:21px;
background: url(images/pass.png);
color:#000;
border-width:0px;
font-size:15px;
text-indent:18px;
}
margin: 12px 12px 12px 12px;