• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

The css style border is not working on select html form!

Hello
I am trying to add this styling css to the select option html form it works fine in FIREFOX and infortunately it didn't work in IE,
What i need is to make the border looks red when an error message is been displayed all i need is the css i can do the rest
document.getElementById(v).style.border="1px #FF0000 solid";

Open in new window

0
Audiominds
Asked:
Audiominds
  • 2
1 Solution
 
PhatzerCommented:
You may need to format the border value as so (example):

"1px solid #FFFFFF"
0
 
PhatzerCommented:
In your case (to reiterate):
document.getElementById(v).style.border="1px solid #FF0000";

If that fails, try this:
document.getElementById(v).style.borderWidth="1px";
document.getElementById(v).style.borderColor="#FF0000";
document.getElementById(v).style.borderStyle="solid";

Now, if that fails, there's clearly some other underlying issue.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now