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, 2011, 11:09:41 PM, Robin wrote:
> 
> RB> I then wrote css as follows:
> 
> RB> .2col#content {  /*this selector overrides the normal content
> RB> margins for any layout with no right side column */
> RB>         margin: 0 0 0 200px;
> RB>         
> RB>   }
> 
> RB> .2col#wrapper {     
> RB>         background: #fff
> RB> url(../images/website/wrapper_bg_2col.gif) repeat-y;/*creates faux
> RB> column appearance for two-column layout*/
> RB>         
> RB>         
> RB>         }
> 
> You should try to avoid class or ID names that begin with a numeral. It's 
> best practice to begin them with an alphabetic character. If you really 
> needed to keep the numeral, you could try escaping it:
> 
> .\2col#wrapper {..}
> 
> But that's just covering up the problem.
> 
> Good luck!
> -Sam
> 

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to