Issue with TWebStringGrid nested in a TWebPanel

We are using TMS Web Core 2.6.1.2.
If we nest a TWebStringGrid within a TWebPanel, assign ElementIDs to both components and also nest both components in the .html file

    <div id="panel">
      <span id="grid"><table></table></span>
    </div>

the grid is not displayed at runtime but some CSS text starting with
table#gridtbl td { overflow: hidden; text-overflow: ellipsis; ... and ending with WebPanel1

The nesting is controlled by the HTML elements and there is no need to nest at control level.