Hi Gary,<div><br></div><div>It&#39;s a bit confusing... and different themes deal with it differently. But the underlying concept here that you are missing is that a module must be responsible for a block. So in the case of &quot;block-block-1&quot; it is the block module that is responsible. The menu module (as many other modules) also creates blocks. So you might see &quot;block-menu-1&quot;. For each controlling module, the numbering starts over. </div>
<div><br></div><div>But some themes don&#39;t use the &quot;delta&quot; or at least not in certain situations. Like I just looked at a site (I think I used Genesis there) where I saw &quot;block-menu-nav&quot; where &quot;nav&quot; was the name of the menu. There was no delta. And on another site using Zen and Panels I saw a block in a panel get &quot;pane-menu-block-1. So now I&#39;ve confused you. But I think I&#39;ve gotten you over the hump here, conceptually, yes? A module always &quot;owns&quot; a block.</div>
<div><br></div><div>best,</div><div><br></div><div>Shai</div><div><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 11:27 AM, Broyhill, Gary <span dir="ltr">&lt;<a href="mailto:Gary.Broyhill@lr.edu">Gary.Broyhill@lr.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I’ve got a CSS problem related to block.tpl.php . I was looking at the API for block.tpl.php, and I’m a little confused over how Drupal assigns the block-block-x  ID to come up with block-block-1, block-block2, etc.<br>

<br>
&gt;From the API:  </span></font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">&lt;div id=&quot;block-</span><span style="font-size:11pt">&lt;?php print $block-&gt;module .&#39;-&#39;. $block-&gt;delta; ?&gt;&quot; class=&quot;block block-&lt;?php print $block-&gt;module ?&gt;&quot;&gt;<br>

<font color="#FE0000"><br>
</font></span></font><span style="font-size:11pt"><font face="Calibri, Verdana, Helvetica, Arial">So I see that the ID value comes from </font></span><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">&quot;block-</span><span style="font-size:11pt">&lt;?php print $block-&gt;module .&#39;-&#39;. $block-&gt;delta; ?&gt;&quot;</span></font><span style="font-size:11pt"><font face="Calibri, Verdana, Helvetica, Arial"> but where its the numbering controlled?<br>

<br>
<br>
<br>
-- <br>
Gary Broyhill<br>
Webmaster<br>
Lenoir-Rhyne University<br>
<a href="http://www.lr.edu" target="_blank">www.lr.edu</a><br>
<a href="mailto:gary.broyhill@lr.edu" target="_blank">gary.broyhill@lr.edu</a><br>
(828)328-7379<br>
</font></span></font>
</div>


<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>