Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not sure if this was done intentionally, so I added as a feature request. There seems to be an unofficial standard for using '-' instead of '_' in class names.
Views 3 doesn't allow the use of underscores for class names, so grid widths can't be added via the views interface. If it does allow you to input 'grid_4', I gets run through http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_cl... and the '_' is converted to '-'.
Comments
Comment #1
jwilson3Unfortunately this is a symptom of the 960.gs framework code itself, and therefore was intentional. I wouldn't be opposed to seeing this changed though, cause i dislike underscores in classnames too.
Sadly, the awesome browser extension I use looks for the existence of container_X, and doesn't recognize container-12 or container-16, so a change like this *would* break some compatibility with the 960.gs framework.