-- Well, after some experimentation, I have solved the problem/issue....The problem goes away when the outer div is OUTSIDE a separate row (<tr><td>....</td></tr>), and the inner div is inside the row.
Here is the modified code (that now works!) - The modified portions are in red:
Code:
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id="ddtabs" class="ddcolortabs">
<ul>
<cfset tabs=0>
<cfif #ingredients# IS NOT ""> <li><a href="/" rel="sc1"><span> Ingredients </span> </a></li><cfset tabs=tabs+1></cfif>
<cfif #DirectionsForUse# IS NOT ""> <li><a href="/" rel="sc2"><span> Directions To Use </span> </a></li><cfset tabs=tabs+1></cfif>
<cfif #Hints# IS NOT ""> <li><a href="/" rel="sc3"><span> Notes </span> </a></li><cfset tabs=tabs+1></cfif>
<cfif #Notes# IS NOT ""> <li><a href="/" rel="sc4"><span> Recipes </span> </a></li><cfset tabs=tabs+1></cfif>
<cfif tabs GT 0> <li><a href="/" rel="sc5"><span> <> </span> </a></li></cfif>
</ul>
</div>
</td>
</tr>
<tr>
<td height="2" bordercolor="" bgcolor="#MainHeading#">
</td>
</tr>
<div class="tabcontainer"> <!-- Move OUTSIDE the <tr><td> -->
<tr>
<td>
<cfif #ingredients# IS NOT ""> <div id="sc1" class="tabcontent"><a class = "Productname"><br>#Ingredients#<p> </a></div></cfif>
<cfif #DirectionsForUse# IS NOT ""> <div id="sc2" class="tabcontent"><a class = "ProductName"><br>#DirectionsForUse#<p> </a></div></cfif>
<cfif #Hints# IS NOT ""> <div id="sc3" class="tabcontent"><a class = "ProductName"><br>#Hints#<p> </a></div></cfif>
<cfif #Notes# IS NOT ""> <div id="sc4" class="tabcontent"><a class = "ProductName"><br>#Notes#<p> </a></div></cfif>
<cfif tabs GT 0> <div id="sc5" class="tabcontent"></div></cfif>
</td>
</tr>
</div> <!-- Move OUTSIDE the </td></tr> -->
</table>
Vinay Mehta
Ethnic Foods Company.
Bookmarks