Murli Hiware

Greenhorn
+ Follow
since Sep 25, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Murli Hiware

Hi Josh,

I would like to thank you very much for publishing effective java book series. After reading effective java second edition I got totally new perspective about java programming language.
1 year ago

Jaikiran Pai wrote:What does the relevant HTML source code look like? The one which you are generating and the one that you see firefox render?


Below is the overview of html source code which firefox is rendering-
<table id="tableReportData" class="reportTable" cellspacing="1" cellpadding="2" width="100%" border="0">

<tbody>
<tr class="reportList2"></tr>
<tr class="reportList1"></tr>
<tr class="reportList1"></tr>
<tr id="firstToggleBlock2" class="reportList1" style=""></tr>
<tbody id="ToggleBlock2" style="display: none;"></tbody>
</tbody>
<tbody>
<tr id="firstToggleBlock3" class="reportList1"></tr>
<tbody id="ToggleBlock3" style="display: none;"></tbody>
</tbody>
<tbody>
<tr class="reportList1"></tr>
</tbody>

</table>

And below is the one which IE and chrome is rendering

<table class="reportTable" id="tableReportData" width="100%" border="0" cellspacing="1" cellpadding="2">
<tbody><tr class="reportList2">
<td class="rce"></td>
<td class="headerSelected" nowrap=""><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td><a href="javascript:sortColumn(0)" class="HeaderSort">trade id</a></td>
<td align="right"><a href="javascript:sortColumn(0)" class="HeaderSort"><img src="/images/Ascending.gif" width="16" height="11" border="0" align="right"></a></td>
</tr></tbody></table></td>
<td class="bottom"><a href="javascript:sortColumn(128)" class="HeaderSort">term</a></td>
<td class="bottom"><a href="javascript:sortColumn(13)" class="HeaderSort">mark to market</a></td>
<td class="bottom"><a href="javascript:sortColumn(1)" class="HeaderSort">book</a></td>
<td class="bottom"><a href="javascript:sortColumn(121)" class="HeaderSort">greeks delta</a></td>
<td class="bottom"><a href="javascript:sortColumn(122)" class="HeaderSort">greeks gamma</a></td>
<td class="bottom"><a href="javascript:sortColumn(127)" class="HeaderSort">greeks theta</a></td>
</tr>
<tr class="reportList1">
<td class="rce"></td>
<td class="reportCellGeneral" nowrap="">inventory</td>
<td class="rcg">08/27/14 - 08/27/14</td>
<td class="rcg">8,211,440</td>
<td class="rcg">AC Energy_Electricity_NE</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr>
<tr class="reportList1">
<td class="rce"></td>
<td class="reportCellGeneral" nowrap="">inventory</td>
<td class="rcg">08/27/14 - 08/27/14</td>
<td class="rcg">195</td>
<td class="rcg">AC Energy_Electricity_NE</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr>
<tr id="firstToggleBlock2" class="reportList1">
<td class="rce"><a href="JavaScript:%20toggleRow('ToggleBlock2')"><img id="imageToggleBlock2" src="/images/buttons/Expand.gif" width="10" height="10" border="0"></a></td>
<td><a href="javascript:editTrade(47095990)" class="listLink">47095990</a></td>
<td class="rcg">10/01/14 - 10/31/14</td>
<td class="rcg">(100)</td>
<td class="rcg">AC Energy_Electricity_NE</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcg">(0)</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr>
</tbody><tbody id="ToggleBlock2" style="display:none"><tr class="reportList1">
<td class="rce"></td>
<td><a href="javascript:editTrade()" class="listLink"></a></td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcc">-</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr></tbody>
<tbody><tr id="firstToggleBlock3" class="reportList1">
<td class="rce"><a href="JavaScript:%20toggleRow('ToggleBlock3')"><img id="imageToggleBlock3" src="/images/buttons/Expand.gif" width="10" height="10" border="0"></a></td>
<td><a href="javascript:editTrade(47095991)" class="listLink">47095991</a></td>
<td class="rcg">10/01/14 - 10/31/14</td>
<td class="rcg">(100)</td>
<td class="rcg">AC Energy_Electricity_NE</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcg">(0)</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr>
</tbody><tbody id="ToggleBlock3" style="display:none"><tr class="reportList1">
<td class="rce"></td>
<td><a href="javascript:editTrade()" class="listLink"></a></td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcg">0</td>
<td class="rcg">0</td>
<td class="rcc">-</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr></tbody>
<tbody><tr class="reportList1">
<td class="rce"></td>
<td class="rcg">Total:</td>
<td class="rcc">-</td>
<td class="rcg">8,211,435</td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td class="rcc">-</td>
<td width="100%" bgcolor="#cccccc"></td>
<td width="100%" bgcolor="#cccccc"></td>
</tr>
</tbody></table>


firefox is putting my xsl generated tbody tag inside its own implicit tbody tag which is causing issue
my html Page is rendered on client side using xsl and xml sent by server. the issue i m facing is with firefox adding implicit tbody tag. my xsl is generating few tbody tags based on some condition, firefox is nesting this tag inside its implicit tbody tag which is causing alignment issue for rows which are inside tbody tag generated by xsl.

is there any way to avoid implicit tbody tag inserted by firefox or do not allow firefox to put the tbody generated by xsl inside its own implicit tbody.