We help IT Professionals succeed at work.
Get Started

Text color and background in a text box.

breeze351
breeze351 asked
on
133 Views
Last Modified: 2017-04-11
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?
Comment
Watch Question
Lead Software Engineer
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE