473,466 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Missing Table cell

India777
61 New Member
Hai all,
I have a table in HTML. My table Rendered in browser like the below. But in IE browser only cause this Problem.

<td> <td> <td> <td>
<td> miss <td> <td> <td> --> Missing Cell at 2nd position and rendered at End
<td> <td> <td> <td>
<td> <td> miss <td> <td> --> Missing Cell at 3rd position and rendered at End
<td> <td> <td> <td>

How can i handle this? What is the Reason for this type of Problem?
Jun 14 '12 #1
11 2656
Dormilich
8,658 Recognized Expert Moderator Expert
what does the HTML source code look like?
Jun 14 '12 #2
India777
61 New Member
I am using Asp.net techniques for Binding data in the table.

My Html Code for table is below
Expand|Select|Wrap|Line Numbers
  1. <table cellpadding="0" cellspacing="0" id="ttt">
  2.     <tr>
  3.         <td rowspan="2" style="border-bottom: solid 1px silver;">&nbsp;
  4.             </td>
  5.         <td rowspan="2" style="border-bottom: solid 1px silver;">
  6.             <b>Theme</b>
  7.         </td>
  8.         <td rowspan="2" style="border-bottom: solid 1px silver;">&nbsp;
  9.         </td>
  10.         <td style="border-bottom: solid 1px silver;">
  11.             Prefix List</td>
  12.         <td style="border-bottom: solid 1px silver;">
  13.             Field 1</td>
  14.         <td style="border-bottom: solid 1px silver;">
  15.             Field 2</td>
  16.         <td style="border-bottom: solid 1px silver;">
  17.             Field 3</td>
  18.         <td style="border-bottom: solid 1px silver;">
  19.             Field 4</td>
  20.     </tr>
  21.     <tr>
  22.         <td style="border-bottom: solid 1px silver;">
  23.             Category List</td>
  24.         <td style="border-bottom: solid 1px silver;">
  25.             Field 5</td>
  26.         <td style="border-bottom: solid 1px silver;">
  27.             Field 6</td>
  28.         <td style="border-bottom: solid 1px silver;">
  29.             Field 7</td>
  30.         <td style="border-bottom: solid 1px silver;">
  31.             &nbsp;</td>
  32.     </tr>
  33.     <tr class="<%# binding_ThemeRow %>">
  34.         <td rowspan="2" valign="top">
  35.             <asp:Panel ID="Panel1" runat="Server" OnDataBinding="binding_SessionTemplateThemes_OnColorBinding" style="width: 20px; height: 12px; border: solid 1px silver; text-align: center;" />
  36.         </td>
  37.         <td rowspan="2" style="white-space: nowrap;" valign="top">
  38.             <asp:Label runat="server" ID="lblSessionTemplateThemeName" Text="<%# binding_SessionTemplateThemes_Name %>" /></td>
  39.         <td rowspan="2" valign="top">
  40.             :&nbsp;</td>
  41.         <td valign="top">
  42.             <asp:Label runat="server" ID="Label5" Text="<%# binding_SessionTemplateThemes_PrefixList %>" /></td>
  43.         <td valign="top">
  44.             <asp:Label runat="server" ID="Label11" Text="<%# binding_SessionTemplateThemes_Field1 %>" /></td>
  45.         <td valign="top">
  46.             <asp:Label runat="server" ID="Label12" Text="<%# binding_SessionTemplateThemes_Field2 %>" /></td>
  47.         <td valign="top">
  48.             <asp:Label runat="server" ID="Label13" Text="<%# binding_SessionTemplateThemes_Field3 %>" /></td>
  49.         <td valign="top">
  50.             <asp:Label runat="server" ID="Label18" Text="<%# binding_SessionTemplateThemes_Field4 %>" /></td>
  51.     </tr>
  52.     <tr class="<%# binding_ThemeRow2 %>">
  53.         <td valign="top">
  54.             <asp:Label runat="server" ID="Label6" Text="<%# binding_SessionTemplateThemes_CategoryList %>" /></td>                                            
  55.         <td valign="top">
  56.             <asp:Label runat="server" ID="Label14" Text="<%# binding_SessionTemplateThemes_Field5 %>" /></td>
  57.         <td valign="top">
  58.             <asp:Label runat="server" ID="Label15" Text="<%# binding_SessionTemplateThemes_Field6 %>" /></td>
  59.         <td valign="top">
  60.             <asp:Label runat="server" ID="Label16" Text="<%# binding_SessionTemplateThemes_Field7 %>" /></td>
  61.         <td valign="top">&nbsp;</td>
  62.     </tr>
  63. </table>
  64.  
Jun 15 '12 #3
Dormilich
8,658 Recognized Expert Moderator Expert
well, the browser is rendering your table correctly. the "missing" table cells are caused by the rowspans you inserted.
Jun 15 '12 #4
India777
61 New Member
Ohhhhhh........! Thank You. Please could you say,how can i handle this?
Jun 15 '12 #5
Dormilich
8,658 Recognized Expert Moderator Expert
remove the rowspans?
Jun 15 '12 #6
India777
61 New Member
It couldnot fixed After Removing rowspans also.
Jun 15 '12 #7
Dormilich
8,658 Recognized Expert Moderator Expert
then post the "fixed" code. maybe there’s something different this time.
Jun 15 '12 #8
India777
61 New Member
Below is my fixed code
Expand|Select|Wrap|Line Numbers
  1. <table cellpadding="0" cellspacing="0" id="ttt">
  2.     <tr>
  3.         <td style="border-bottom: solid 1px silver;">&nbsp;
  4.             </td>
  5.         <td style="border-bottom: solid 1px silver;">
  6.             <b>Theme</b>
  7.         </td>
  8.         <td style="border-bottom: solid 1px silver;">&nbsp;
  9.         </td>
  10.         <td style="border-bottom: solid 1px silver;">
  11.             Prefix List</td>
  12.         <td style="border-bottom: solid 1px silver;">
  13.             Field 1</td>
  14.         <td style="border-bottom: solid 1px silver;">
  15.             Field 2</td>
  16.         <td style="border-bottom: solid 1px silver;">
  17.             Field 3</td>
  18.         <td style="border-bottom: solid 1px silver;">
  19.             Field 4</td>
  20.     </tr>
  21.     <tr>
  22.         <td valign="top">&nbsp;</td>
  23.         <td valign="top">&nbsp;</td>
  24.         <td valign="top">&nbsp;</td>
  25.         <td style="border-bottom: solid 1px silver;">
  26.             Category List</td>
  27.         <td style="border-bottom: solid 1px silver;">
  28.             Field 5</td>
  29.         <td style="border-bottom: solid 1px silver;">
  30.             Field 6</td>
  31.         <td style="border-bottom: solid 1px silver;">
  32.             Field 7</td>
  33.         <td style="border-bottom: solid 1px silver;">
  34.             &nbsp;</td>
  35.     </tr>
  36.     <tr class="<%# binding_ThemeRow %>">
  37.         <td valign="top">
  38.             <asp:Panel ID="Panel1" runat="Server" OnDataBinding="binding_SessionTemplateThemes_OnColorBinding" style="width: 20px; height: 12px; border: solid 1px silver; text-align: center;" />
  39.         </td>
  40.         <td style="white-space: nowrap;" valign="top">
  41.             <asp:Label runat="server" ID="lblSessionTemplateThemeName" Text="<%# binding_SessionTemplateThemes_Name %>" /></td>
  42.         <td valign="top">
  43.             :&nbsp;</td>
  44.         <td valign="top">
  45.             <asp:Label runat="server" ID="Label5" Text="<%# binding_SessionTemplateThemes_PrefixList %>" /></td>
  46.         <td valign="top">
  47.             <asp:Label runat="server" ID="Label11" Text="<%# binding_SessionTemplateThemes_Field1 %>" /></td>
  48.         <td valign="top">
  49.             <asp:Label runat="server" ID="Label12" Text="<%# binding_SessionTemplateThemes_Field2 %>" /></td>
  50.         <td valign="top">
  51.             <asp:Label runat="server" ID="Label13" Text="<%# binding_SessionTemplateThemes_Field3 %>" /></td>
  52.         <td valign="top">
  53.             <asp:Label runat="server" ID="Label18" Text="<%# binding_SessionTemplateThemes_Field4 %>" /></td>
  54.     </tr>
  55.     <tr class="<%# binding_ThemeRow2 %>">
  56.         <td valign="top">&nbsp;</td>
  57.         <td valign="top">&nbsp;</td>
  58.         <td valign="top">&nbsp;</td>
  59.         <td valign="top">
  60.             <asp:Label runat="server" ID="Label6" Text="<%# binding_SessionTemplateThemes_CategoryList %>" /></td>                                            
  61.         <td valign="top">
  62.             <asp:Label runat="server" ID="Label14" Text="<%# binding_SessionTemplateThemes_Field5 %>" /></td>
  63.         <td valign="top">
  64.             <asp:Label runat="server" ID="Label15" Text="<%# binding_SessionTemplateThemes_Field6 %>" /></td>
  65.         <td valign="top">
  66.             <asp:Label runat="server" ID="Label16" Text="<%# binding_SessionTemplateThemes_Field7 %>" /></td>
  67.         <td valign="top">&nbsp;</td>
  68.     </tr>
  69. </table>
  70.  
Jun 15 '12 #9
Dormilich
8,658 Recognized Expert Moderator Expert
well, I don’t see any irregularities in the table build-up.
Jun 15 '12 #10
India777
61 New Member
yes i am also. But i don't know, why in IE9 the table cells rendered like wrongly???????????
Jun 15 '12 #11
Dormilich
8,658 Recognized Expert Moderator Expert
me neither, but it’s IE, after all.
Jun 15 '12 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Kai Grossjohann | last post by:
I have a table which contains a top-aligned table cell: .... <tr style="height:40"> ... <td colspan="1" rowspan="2" align="left" valign="top" style="overflow:hidden;">...
1
by: Joe Conlin | last post by:
I am truncating data from an SQL database and have a script that populates a cell. The problem that I have is I have HTML tags in my database so if the data gets truncated in the middle of a tag,...
1
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
2
by: Steve K | last post by:
Hi, Is there a way to add a link to an empty table cell, or a table cell that has text in it? I have made these cells (TD's) look like big buttons (somewhat..) by adding a colored background...
6
by: Anon | last post by:
I have a table with a cell. The cell's ID is created using a unique name that is held in m_UniqueCellName and the cell is created like so... document.write( "<TD ID="' + m_UniqueCellName +...
1
by: Thanks | last post by:
I have a routine that is called on Page_Init. It retrieves folder records from a database which I display as Link Buttons in a table cell. I set the table cell's bgcolor to a default color (say...
4
by: Hong Yip | last post by:
Hi Everyone, I have an array of checkboxlist. Everything works prefectly fine until I start working on the "presentation" view. I am not able to "insert" a checkbox item to a table cell. ...
0
by: David Stone | last post by:
I have a page containing a table which displays as expected but which, when printed from either Firefox or Camino, loses some of the vertical borders between cells in both the table head and body. ...
1
by: Bart Lateur | last post by:
I'm trying to put a utton at the bottom (right) of a TD cell, irrespective of what else is in there. Usually, with other HTML block elements, we're told to use position: relative on the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.