what you did wrong :
you are applying color to parent not to child you can use
login-text{color}
login-frame input{color....}
login-frame #login-text{color....}
NOTE: You has to understand how css work
Example 1: #login-text{color}
#login-text {
font-weight: bold;
color: #900;
}
<td>
<label id="login-frame" for="login-text">
<input value="Log In" tabindex="4" id="login-text" type="submit">
</label>
</td>
Example 2: #login-frame input{color....} in example 2 you can also use
login-frame input#login-text
#login-frame input{
color: #900;
}
#login-text {
font-weight: bold;
}
<td>
<label id="login-frame" for="login-text">
<input value="Log In" tabindex="4" id="login-text" type="submit">
</label>
</td>
Example 3: #login-frame #login-text{color....}
#login-frame #login-text{
color: #900;
}
#login-text {
font-weight: bold;
}
<td>
<label id="login-frame" for="login-text">
<input value="Log In" tabindex="4" id="login-text" type="submit">
</label>
</td>