The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

The only way I know how to do it is to use the first method I posted (the one with <input style="">. Through the style attribute you can control each individual item. I believe it overrides all other style settings (external file, for example) so you should be able to use them in conjunction.

There may be another way to do it, but that's the only way I know. I know little about CSS and use it rarely.

You could assign it to a class and then use class="whatever" in your input tags that you wish to have the border. Keep in mind the border screws it up in netscape < 6 to the point where it may not be usable. To fix that, take a look at this.

Anyway back to the question at hand. Here's a snippet of my CSS:.bginput {
background-color: #779EC5;
font-size: 12px;
font-family: Verdana,sans-serif;
color: #333333;
font-color: #FFFFFF;
border: solid 1px;
background-color: {categorybackcolor};
}
and the input I use in the page:<input type="text" class="bginput" name="status" size="50">
I could code <input> tags all day and it wouldn't affect them unless I include the class="bginput".