Rick Faircloth wrote: > > .was mostly the same for each class and tried to create a class plus id to > shorten the CSS required. > > So, I created this class. > > .cal_heading { padding-top: 2px; padding-bottom: 3px; border-top: 1px solid > black; border-left: 1px solid #aaa; background: black; color: white; > font-size: > 11px; font-weight: bold; text-align: center; } > > .and combined it with this id style. > > .cal_heading #day { width: 35px; border-left: 1px solid black; } >
If your code looks like this <th class="cal_heading" id="day"> then you want .cal_heading#day instead of .cal_heading #day (The space indicates that #day is a descendant of .cal_heading.) ~fantasai ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/