mathceleb
07-22-2011, 09:52 PM
I want to make the password field hidden for the styling below on .css.
<div id="header">
<div id="header-bottom">
<div class="login-box">
<br>
<form id="login-form" method="post" name="login-form">
<input class="text click-clear" type="text" name="uname" title="Username" value="Username">
<input class="text fake_pass" type="text" name="fake_pass" title="Password" value="Password">
<input class="text hidden_pass" type="password" name="pass" title="Password" value="" style="display: none;">
</div>
</div>
</div>
The code I have below is not working.
.header div#header-bottom .hidden_pass { display:none; }
I also tried:
.header div#header-bottom .login-box .hidden_pass { display:none; }
EDIT:
What does work is forcing the input box itself to hide with a style="display:none;" I could go with that.
<div id="header">
<div id="header-bottom">
<div class="login-box">
<br>
<form id="login-form" method="post" name="login-form">
<input class="text click-clear" type="text" name="uname" title="Username" value="Username">
<input class="text fake_pass" type="text" name="fake_pass" title="Password" value="Password">
<input class="text hidden_pass" type="password" name="pass" title="Password" value="" style="display: none;">
</div>
</div>
</div>
The code I have below is not working.
.header div#header-bottom .hidden_pass { display:none; }
I also tried:
.header div#header-bottom .login-box .hidden_pass { display:none; }
EDIT:
What does work is forcing the input box itself to hide with a style="display:none;" I could go with that.