Quote:
Originally Posted by HRM Web Service
Hey,
Thanks for reviewing the code Noppid.
I have checked the code I posted using DW8 (Dreamweaver 8). I see no problem with the tags. They are all XHTML compliant and there are equal number of open and close tags for everything in the right locations.
The code you posted however has errors in as you described. Specifically the section below:
HTML Code:
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr class="alt1">
<td bgcolor="#FFFFFF" align="center" valign="middle">
<table width="100%" border="0" cellpadding="4" cellspacing="1">
<tr class="alt1">
<td class="custom_alt2" align="center" valign="middle"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont" bgcolor="#F6F8FA" align="left"> $vbphrase[forum_contains_new_posts]</td>
<td class="custom_alt2" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont" bgcolor="#F6F8FA" align="left"> $vbphrase[forum_contains_no_new_posts]</td>
<td class="custom_alt2" align="center"><img src="$stylevar[imgdir_statusicon]/forum_new_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont" bgcolor="#F6F8FA" align="left"> $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
</tr>
</tbody>
Any other suggestions? The problem is not the code (well it could be the collapsing code - but it appreas fine). Just wondering why cookie or caching isn't taking place.
|
Yep, I missed one. Sorry.
To get your cookies to work, change the second <tbody> to....
HTML Code:
<tbody id="collapseobj_iconLegend" style="$vbcollapse[collapseobj_iconLegend]">
You left out the style.