Witam. Mam problem z formularzami, mianowicie na stronie są , lecz są "nieklikalne" Na początku pomyślałem że to wina z-index'a lecz po nadaniu tego atrybutu dla diva w którym formularz jest nic się nie zmienia, tj. nadal są nieaktywne. Oto kod css i html (chodzi dokładniej o ten w divie body-register-left)
Z góry dzięki za pomoc

CSS
body {
margin: 0px;
}
.header {
position: fixed;
top: 0;
width: 100%;
}
.topbar
{
position: absolute;
top: 0px;
left: 0px;
width:100%;
height: 64px;
background-color: #3c3c3c;
}
.topbar-content
{
width: 1004px;
margin: 0 auto;
}
.topbar-logo
{
position: relative;
margin: 5px;
width: 200px;
height: 54px;
float: left;
color: #fff;
font-size: 50px;
}
.topbar-navi
{
position: relative;
width: 280px;
height: 64px;
float: right;
margin-right: 8px;
}
.topbar-navi-logout
{
position: relative;
width: 64px;
height: 64px;
background-image: url('/dir/images/shut_down.png');
float: right;
}
.topbar-navi-options
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/process.png');
float: right;
}
.topbar-navi-user
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/user.png');
float: right;
}
.topbar-navi-calendar
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/calendar_date.png');
float: right;
}
/*-------------------------------------------------------*/
.topbar-navi-logout
{
position: relative;
width: 64px;
height: 64px;
background-image: url('/dir/images/shut_down.png');
float: right;
}
.topbar-navi-options
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/process.png');
float: right;
}
.topbar-navi-user
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/user.png');
float: right;
}
.topbar-navi-calendar
{
position: relative;
width: 64px;
height: 64px;
margin-right: 8px;
background-image: url('/dir/images/calendar_date.png');
float: right;
}
/*----------------------------------------------------*/
.topbar-search
{
position: relative;
width: 280px;
height: 64px;
float: right;
margin-right: 15px;
}
.topbar-calendar-day
{
font-size: 20px;
margin-top: 25px;
text-align: center;
}
input.search
{
width: 280px;
height: 38px;
margin-top: 13px;
background-image: url('/dir/images/search.png');
background-repeat: no-repeat;
background-position: right;
font-size: 30px;
background-position:240px;
border: 0;
}
.loginbar
{
position: absolute;
top: -91px;
right: 50px;
width: 280px;
height: 155px;
background-color: #3c3c3c;
z-index: -1;
transition: all 0.3s;
}
.loginbar:hover {
top: 64px;
}
.loginbody
{
position: relative;
width: 280px;
height: 155px;
float: right;
display: block;
}
.loginbutton
{
position: relative;
width: 100px;
height: 40px;
background-color: orange;
clear: both;
bottom: -0px;
margin: 0 auto;
float: right;
}
.body
{
position: relative;
top: 64px;
height: 1000px;
width: 1004px;
margin: 0 auto;
z-index: -1;
}
.register-block
{
width: 1004px;
margin-top: 1px;
height: 300px;
background-color: orange;
z-index: 1;
}
.register-form
{
width: 442px;
margin-left: 50px;
float: left;
height: 300px;
background-color: #000;
}
.register-desc
{
width: 442px;
margin-right: 50px;
height: 300px;
color: #3c3c3c;
float: right;
background-color: #000;
font-size: 30px;
}
input.register
{
width: 280px;
margin-left: 60px;
height: 38px;
margin-top: 30px;
background-image: url('/dir/images/search.png');
background-repeat: no-repeat;
background-position: right;
font-size: 30px;
background-position:240px;
border: 0;
}
input.login
{
width: 240px;
height: 32px;
margin-top: 13px !important;
background-image: url('/dir/images/search.png');
background-repeat: no-repeat;
background-position: right;
font-size: 25px;
background-position:200px;
border: 0;
margin-left: 20px;
}
input.pass
{
width: 240px;
height: 32px;
margin-top: 13px !important;
background-image: url('/dir/images/search.png');
background-repeat: no-repeat;
background-position: right;
font-size: 25px;
background-position:200px;
border: 0;
margin-left: 20px;
}
.body-register
{
top: 2px;
height: 400px;
background-color: orange;
position: relative;
z-index: 20;
}
.body-register-left
{
background-color: #ddd;
width: 50%;
float: left;
height: 400px;
}
.body-register-right
{
background-color: #fff;
width: 50%;
float: right;
height: 400px;
}
HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> <header class="header">
<div class="topbar-content"> <form action="glowna.html" method="POST"> <input type="text" class="login" /> <input type="password" class="pass" /> <input type="button" class="login" value="ZALOGUJ" /> <div class="loginbutton">login
</div> <div class="topbar-logo"> LOGO
</div> <div class="topbar-navi"> <div class="topbar-navi-logout"></div> <div class="topbar-navi-options"></div> <div class="topbar-navi-user"></div> <div class="topbar-navi-calendar"></div> </header>
<div class="body-register"> <div class="body-register-left"> <form action="index.php" method="POST"> <input type="text" name="email"> <input type="password" name="password"> <input type="password" name="password-repeat"> <input type="button" name="register-button"> <div class="body-register-right"> <form action="index.php" method="POST"> <input type="text" name="email"> <input type="password" name="password"> <input type="password" name="password-repeat"> <input type="button" name="register-button">