S
sujith.bolar
This is IE issue only. Firefox and mozilla doe not have this problem.
td cell in a table with a title which includes '-'(dash). If I add a
dash between Time-Time. IE intrepets as new line os somethig and the
title is displayed in 2 line like:
Time-
Time
instead of Time-Time.
Below is snippet of the code.
function genHeader(mt,monTypes)
{
var pmHtml = "<table class='ctbl' border='1' rules=all
cellpadding='2' cellspacing='1' bordercolordark='black'><tr
class=hd><td width=120>Time-Time</td>";
//loop through and set up heading
for(var i = 0; i < mt.length; i++) {
pmHtml += "<td width=120><div id=" + monTypes.name+
" onmouseout=hideHelp('" + monTypes.name + i +
"',event)" +
" onmouseover=showHelp('" + monTypes.name + i +
"',event)>" +
monTypes.name + "</div></td>";
}
pmHtml += "</tr>";
return pmHtml;
}
Note the table end tag in done by the calling function.
I would appreciate any help on this as I am stuck
Thanks
Sujith
td cell in a table with a title which includes '-'(dash). If I add a
dash between Time-Time. IE intrepets as new line os somethig and the
title is displayed in 2 line like:
Time-
Time
instead of Time-Time.
Below is snippet of the code.
function genHeader(mt,monTypes)
{
var pmHtml = "<table class='ctbl' border='1' rules=all
cellpadding='2' cellspacing='1' bordercolordark='black'><tr
class=hd><td width=120>Time-Time</td>";
//loop through and set up heading
for(var i = 0; i < mt.length; i++) {
pmHtml += "<td width=120><div id=" + monTypes.name+
" onmouseout=hideHelp('" + monTypes.name + i +
"',event)" +
" onmouseover=showHelp('" + monTypes.name + i +
"',event)>" +
monTypes.name + "</div></td>";
}
pmHtml += "</tr>";
return pmHtml;
}
Note the table end tag in done by the calling function.
I would appreciate any help on this as I am stuck
Thanks
Sujith