By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,090 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

Unable to change form field appearance

P: 21
I am trying to change the shadowed (sunken) form fields to display flat borders. I tried using various CSS parameters, without any result. Any help is greatly appreciated.
Jan 16 '08 #1
Share this Question
Share on Google+
3 Replies


P: 32
Expand|Select|Wrap|Line Numbers
  1. border-style: 
  2.  
Then one of these
Expand|Select|Wrap|Line Numbers
  1. none
  2. hidden
  3. dotted
  4. dashed
  5. solid
  6. double
  7. groove
  8. ridge
  9. inset
  10. outset
For simple flat black borders;

Expand|Select|Wrap|Line Numbers
  1. border:1px solid #000;
Jan 17 '08 #2

P: 21
garrow, Many thanks for your help. "border:1px solid #000;" did it. I also tried to apply this to a <select> tag but, it didn't work. Could you please point me again to the right direction?
Jan 17 '08 #3

Markus
Expert 5K+
P: 6,050
Expand|Select|Wrap|Line Numbers
  1. select {
  2.  background-color: #666699;
  3.  color: #ffffff;
  4. }
  5.  
Don't forget: google is your friend ;)
Jan 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.