|
Re: Using CSS Rule together with CSS Class in server side controls
Well, say you had a form named foo. What you could do is declare styles for the elements only contained within forms with the id of #foo.
#foo input {
padding:6px;
width:125px;
border:solid #CCCCCC;
border-width:1px;
}
#foo textarea {
border:solid #CCCCCC;
border-width:1px;
}
#foo input.mybutton {
width:75px;
}
etc.
http://www.sitepoint.com/article/style-web-forms-css
__________________
I hate IE 6. Just sayin.... 
Last edited by moojoo; Aug 3rd, 2006 at 14:17.
|