I'm trying to change the color of input text on an HTML page, using CSS. This code works fine together:
But when I have the exact same code on separate pages, both with a lot of other stuff, the "color: 0000C7" does not do anything. I can change everything else both with the code on separate pages (a CSS page and an HTML page) and on the same page (like the code above) but can only change the color when they are on the same page. The color for all the other stuff works fine on separate pages. Anybody know why this is and how I can fix it? Thanks for the help.
Code:
<style type="text/css">
input#pass, input#name
{
font-family: 'LCARS', 'LCARS Nav Link', sans-serif;
font-size: 30px;
letter-spacing: 2px;
border: 5px solid;
border-color: 0000C7;
color: 0000C7;
}
</style>
<td><div id="table"><input type="text" size="12" id="name"/></div></td>
<td><div id="table"><input type="password" size="12" id="pass"/></div></td>
But when I have the exact same code on separate pages, both with a lot of other stuff, the "color: 0000C7" does not do anything. I can change everything else both with the code on separate pages (a CSS page and an HTML page) and on the same page (like the code above) but can only change the color when they are on the same page. The color for all the other stuff works fine on separate pages. Anybody know why this is and how I can fix it? Thanks for the help.