[css-d] Overriding ID styles with a class?

2011-06-16 Thread Robin Button
I'm having a problem overriding styles in a div id #wrapper, that contains column divs. I want to override the ID background style with a class to create a 2 column layout template instead of 3, and am having no luck. I assigned a class of .2col to the #wrapper of my template, and styled accordi

Re: [css-d] Overriding ID styles with a class?

2011-06-16 Thread Robin Button
Sam, Thanks for the advice .. I will remember that, and I've renamed the class to eliminate the numeral. Robin On Jun 16, 2011, at 8:21 PM, Sam Brown wrote: > Thursday, June 16, 2011, 11:09:41 PM, Robin wrote: > > RB> I then wrote css as follows: > > RB> .2col#content { /*this selector ove

Re: [css-d] Overriding ID styles with a class?

2011-06-17 Thread Robin Button
Everyone, The naming convention is what was causing the problem .. the browsers were ignoring my rules that applied to the .2col class. All is tidy now with the .twocol class name! I appreciate Sam's prompt reply! Thanks! On Jun 16, 2011, at 8:21 PM, Sam Brown wrote: > Thursday, June 16,