2008/12/4 Hampton Catlin <[EMAIL PROTECTED]>: > > Left bar is semantic! Why? Because that's what it is! If it was > floatLeft that might be an issue.
However, when your leftbar contains navigation stuff, and Web9.0 guidelines say that everything should just be vertically stacked, you'll be kinda stuffed with your #leftbar id if you want to put your navigation stuff at the bottom. You'd either have to rename it to #bottombar or use the more structural #navigationbar approach. - Filip > > Name semantically, but never stop being pragmatic. > > > - Hampton > > On Dec 4, 2008, at 11:20 AM, FiXato <[EMAIL PROTECTED]> wrote: > >> Very interesting article. I know I have more than once made myself >> guilty of naming things #leftbar for instance :P >> SASS also helps quite a bit towards structural naming. For instance >> with SASS there is even less tendency to use things like .red-link, as >> you can describe those colours in SASS variables ;) >> >> 2008/12/4 scottwb <[EMAIL PROTECTED]>: >>> >>> Great article. And timely too...I was just thinking along these lines >>> over the last few days as I was rewriting a bunch of CSS code in SASS >>> and renaming classes and ids to be pretty close to what this guy >>> calls >>> "structural naming" (though he articulated it much better than what I >>> would have said!) >>> >>> Thanks for sharing the link. >>> -scottwb >>> >>> On Dec 4, 7:30 am, Evgeny <[EMAIL PROTECTED]> wrote: >>>> Hi Hamlites and Sasspeople, just wanted to share an article I've >>>> read that I >>>> think will be interesting to most of you. >>>> >>>> http://sixrevisions.com/css/css-tips/css-tip-2-structural-naming-conv >>>> ... >>>> >>>> "*Structural naming convention* – in essence – just means that y >>>> ou name (by >>>> assigning a class and/or id attribute to them) elements by >>>> describing *what >>>> they are*, and not*where they are* or *how the look*. Its >>>> counterpart is >>>> called presentational naming which describes the *location and/or >>>> appearance >>>> * of web page elements." >>>> >>>> Since we already have presentational representation with Sass and >>>> Haml, it >>>> would be beneficial to use a structural naming convention that >>>> will be more >>>> readable and contribute additional meta information to the layout >>>> elements. >>>> >>>> Hope you enjoy it! >>>> >>>> - evgeny >>>> >>> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
