Textbox background color change impacts border style?

M

ML

I have an ASP.NET page with data entry textbox fields. As part of the
validation before save I check the contents of each textbox and if not
correct I set the background color to yellow. The issue however is that
when I set the color the border style also seems to change to be inset.
Initially it is just the default flat with thin line border. When I set the
background color back to nothing the border also reset properly.

Is there someway to keep the flat border style even when the background
color is changed?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top