Code:
if(SpecialInfo!="")
{
SI_row = document.getElementById('demodiv_SpecialInfo').insertRow()
cell = SI_row.insertCell()
cell.colSpan = "4"
cell.style.border = "1"
cell.style.borderTopColor = "#000000"
cell.innerHTML = cell.innerHTML + "<img src=images/flashing_exclam.gif height=15>"
cell.innerHTML = cell.innerHTML + " " + SpecialInfo
}
<div id="demodiv" class="demo" style="width: 707px">
<table id="demodiv_t_Main" border="1" bordercolor="<%=brdColDark%>" width="100%" height="100" summary="The Mini-Rules DIV hidden or shown onMouseOver of 'VIEW RULES'">
<tr class="head2fnt" bordercolor="<%=brdColDark%>" height="10%">
<td colspan="2" nowrap lang="en">
<table width="100%" id="demodiv_SpecialInfo" class="head2fnt" summary="The Special Information row (if applicable)">
<tr class="head2fnt"></tr>
</table>
</td>
</tr>
<tr id="MinMaxStayTable">
<td nowrap lang="en" width="60%" id="piccolax" valign="top">
<table id="demodiv_t" width="100%" class="demo_t" summary="List of Mini Rules for this contract">
<tr valign="top"><td valign="top" class="border_bottom" nowrap><b>FARE RULES</b></td></tr>
</table>
</td>
<td nowrap lang="en" width="40%" id="crmpicco" valign="top">
<table id="demodiv_t_MinMax" class="demo_t" width="100%" border="0" summary="List of Min/Max Stays for this contract">
<tr valign="top"><td valign="top" class="border_bottom" nowrap><b>MIN/MAX STAY</b></td></tr>
</table>
</td>
</tr>
</table>
</div>
Is there a way for me to have a black line as a top border for this cell
Code:
<td colspan="2" nowrap lang="en">
<table width="100%" id="demodiv_SpecialInfo" class="head2fnt" summary="The Special Information row (if applicable)">
<tr class="head2fnt"></tr>
</table>
</td>
thanks.
www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt