How to style a button with CSS and asp.net?
Sheena W asked:
I have a website that I have to restyle, my problem now comes that I have a text box and a button on the same page and when I try to style the two separately it does not work, the one is in the #content – Wrapper input class and this is fine for the textbox how can I style the button to be different and not default to the textbox style?
I have a website that I have to restyle, my problem now comes that I have a text box and a button on the same page and when I try to style the two separately it does not work, the one is in the #content – Wrapper input class and this is fine for the textbox how can I style the button to be different and not default to the textbox style?

add div tags to each element you want to change.
Change div class name in html and in css. Check to see if they are the same class name.
Hi Sheena, I think we’ll need to see the code to be able to see the problem.
Css for a textbox
.textbox {
BORDER-TOP: #cccccc 1px solid;
BORDER-BOTTOM: #cccccc 1px solid;
BORDER-LEFT: #cccccc 1px solid;
BORDER-RIGHT: #cccccc 1px solid;
FONT-FAMILY: Arial;
FONT-SIZE: 11px;
COLOR: #4e4e4e;
PADDING: 0PX;
MARGIN: 0px;
TEXT-DECORATION: none;
}
make this class to be applied for textbox
CSS for button reference links given below
Wish that I could tell u but I would need a little more information in order to help u.