[css-d] how to use a class in a class
Hi, I have a class defiend for form input label calles .formfieldtext. Now I use table to layout the whole user input form. I added: .td1_1 {width:150px; height:20px} How can I use .formfieldtext in .td1_1 so that there is no repeat. Also how can I add colspan in the .td1_1? Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] how to use a class in a class
xhu1 wrote: Hi, I have a class defiend for form input label calles .formfieldtext. Now I use table to layout the whole user input form. I added: .td1_1 {width:150px; height:20px} How can I use .formfieldtext in .td1_1 so that there is no repeat. I think you are looking for .td1_1 .formfieldtext{} which will target any element with class 'formfieldtext' which is inside any element with class 'td1_1'. Also how can I add colspan in the .td1_1? Via CSS? Not possible. -- Els http://locusmeus.com/ http://locusoptimus.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/