View Single Post
  #4 (permalink)  
Old Aug 3rd, 2006, 14:11
moojoo's Avatar
moojoo moojoo is online now
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,997
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
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.
Reply With Quote