Link to home
Start Free TrialLog in
Avatar of breeze351
breeze351

asked on

Text color and background in a text box.

I added the following code into the page:
<style>
k1 {
    background-color: #f2f2f2;
	color: black;
}
</style>

Open in new window


The code for the text box is:
 		<td width = "8%">
			<k1>
				<input name="Min_Store" type="text" id="Min_Store" value="<?php echo $Min_Store?>"  maxlength="6" size = "10" pattern="^\d*?" title="Minimum Store Size - Range is from 0 to 999,999.  Comma(s) and decimals are not allowed" />  
			</k1>
		</td>

Open in new window


It still shows as black text on a white background.  What did I miss?
ASKER CERTIFIED SOLUTION
Avatar of Shaun Kline
Shaun Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of breeze351
breeze351

ASKER

Thanks,  got it.