So I was working on some intense CSS stuff, and came across an issue where I couldn't modify certain CSS elements, and finally I realized it's because the block.tpl.php for PHPtemplate has spaces in the CLASS and ID names.
The new default block.tpl.php should be as follows:
<div class="<?php print "block block-$block->module" ?> " id="<?php print "block-$block->module-$block->delta"; ?> ">
<h2> <?php print $block->subject ?></h2>
<div class="content"><?php print $block->content ?></div>
</div>
Comments
Comment #1
morbus iffSpaces in the class and ID attributes is perfectly fine. class="even monkey" just means that the element should apply both the "even" and "monkey" CSS styles. That's perfectly legal.
Comment #2
morbus iffComment #3
DaveNotik commentedSee http://drupal.org/node/45536 for resolution of this duplicate issue. Morbus and I discussed and clarified the real issue.