# Borders

**URL:** https://forum.kirupa.com/t/borders/186882
**Category:** Uncategorized
**Created:** [April 25, 2006, 7:21am UTC](https://forum.kirupa.com/t/borders/186882 "2006-04-25T07:21:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Vectar](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@Vectar](https://forum.kirupa.com/u/Vectar)
#### Post date: [April 25, 2006, 7:21am UTC](https://forum.kirupa.com/t/borders/186882/1 "2006-04-25T07:21:25Z")

</div>

does anybody know how i can change border colors for input type fields or textarea fields ? can it be done with CSS ?

---

<div class="post-metadata">

### Author: ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)
#### Post date: [April 25, 2006, 7:38am UTC](https://forum.kirupa.com/t/borders/186882/2 "2006-04-25T07:38:53Z")

</div>

```auto
input, textarea{ border: 1px solid #f00; }

```

I don’t think you can change select (drop down) menus with CSS in IE though. Radio button and check box support isn’t all that great either. You can probably do a search at google and find more detailed answers for CSS form element support by browser. That or test the code on your computer with a few browsers to see if it’s even something you want to worry about.

---

<div class="post-metadata">

### Author: ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)
#### Post date: [April 25, 2006, 7:41am UTC](https://forum.kirupa.com/t/borders/186882/3 "2006-04-25T07:41:20Z")

</div>

yes, it can be done with css. just make a class like \<input type="…" class=“myclass”\> then define your .myclass in the css.

you could also just refere to it as input { … } in the css.

meh, ankou beat me to the punch.

---

<div class="post-metadata">

### Author: ![Vectar](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@Vectar](https://forum.kirupa.com/u/Vectar)
#### Post date: [April 25, 2006, 7:41am UTC](https://forum.kirupa.com/t/borders/186882/4 "2006-04-25T07:41:36Z")

</div>

thanks for your help
