Insert Table Bug

Last post 03-08-2007, 6:21 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  03-07-2007, 7:39 AM 27204

    Insert Table Bug

    There appears to be either a bug or a strange problem which causes the 'insert table' function to work differently in IE 7.0 against Firefox 2.0.
     
    In Firefox, by clicking on the 'insert table' button a dialog is displayed. I select the default property values then press the OK button. At this point I am able to select entire columns in the table.
     
    However, in IE 7.0 when I click on the 'insert table' button I instead see a small 'Draw Table' popup display immediately underneath the 'insert table' button where I am able to specify how many rows and columns I would like.

    At this stage the new table is inserted but when I attempt to select a column, what happens is that cells from the previous column are also selected. This is a problem as my users would like to set the text justification for all cells in a single column.
     
    Please help.
  •  03-07-2007, 10:05 AM 27212 in reply to 27204

    Re: Insert Table Bug

    wh1974.
     
    >>At this stage the new table is inserted but when I attempt to select a column, what happens is that cells from the previous column are also selected. This is a problem as my users would like to set the text justification for all cells in a single column.
     
    You have to set text justification for all cells one by one or use the style sheet. There is no column justification syntax in HTML code.
     
    table style="WIDTH: 320px; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=3 border=1>
        <tbody>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </tbody>
    </table>
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-08-2007, 3:35 AM 27243 in reply to 27212

    Re: Insert Table Bug

    That's fine but when using Firefox I am able to select an entire column, click on the 'right justification' toolbar button. CuteEditor.NET then appears to set the alignment of individual cells in that column as you can see from the following html:
     
    <table border="1" width="419">
       <tbody>
          <tr>
             <td>Left Aligned Text</td>
             <td style="text-align: right;">Right Aligned Text<br></td>
          </tr>
          <tr>
             <td>Left Aligned Text<br></td>
             <td style="text-align: right;">Right Aligned Text</td>
          </tr>
       </tbody>
    </table>
     
    I created a 2x2 table, selected the entire 2nd column and clicked on the 'justify right' button on the toolbar. You can see how it has added a style="text-align: right;" css style to each individual cell in the column I selected.
  •  03-08-2007, 6:21 PM 27282 in reply to 27243

    Re: Insert Table Bug

    wh1974:
    That's fine but when using Firefox I am able to select an entire column, click on the 'right justification' toolbar button. CuteEditor.NET then appears to set the alignment of individual cells in that column as you can see from the following html:
     
    <table border="1" width="419">
       <tbody>
          <tr>
             <td>Left Aligned Text</td>
             <td style="text-align: right;">Right Aligned Text<br></td>
          </tr>
          <tr>
             <td>Left Aligned Text<br></td>
             <td style="text-align: right;">Right Aligned Text</td>
          </tr>
       </tbody>
    </table>
     
    I created a 2x2 table, selected the entire 2nd column and clicked on the 'justify right' button on the toolbar. You can see how it has added a style="text-align: right;" css style to each individual cell in the column I selected.
     
     
    I understand what your need. But this is the browser limitation. We can't do any thing about this.
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML