Link to home
Start Free TrialLog in
Avatar of 1jaws
1jawsFlag for United States of America

asked on

table question

When my image is false, whole thing shifts, what I need to do prevent that happening?
table.txt
Avatar of Kiran Sonawane
Kiran Sonawane
Flag of India image

Try this.....

<table width="100%" border="0">
        <tr>
            <td>
               sfddf:
            </td>
            <td>
                <asp:Label ID="sss" runat="server"></asp:Label>
            </td>
            <td valign="top">
                <asp:Image ID="imgStamp" runat="server" ImageUrl="~/images/Stamp.gif" Visible="false" />
            </td>
        </tr>
        <tr>
            <td>
                Name:
            </td>
            <td>
                <asp:Label ID="lblName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                sdfdsf:
            </td>
            <td>
                <asp:Label ID="dsfsdf" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <hr />
            </td>
        </tr>
        <tr>
            <td>
                sdfsdf:
            </td>
            <td>
                <asp:Label ID="fsdf" runat="server"></asp:Label>
            </td>
            <tr>
                <td>
                    xx:
                </td>
                <td>
                    <asp:Label ID="lblxx" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    yy:
                </td>
                <td>
                    <asp:Label ID="lblyy" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr />
                </td>
            </tr>
            <tr>
                <td>
                    ID:
                </td>
                <td valign="top">
                    <asp:Label ID="lblID" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    gdgd:
                </td>
                <td>
                    <asp:Label ID="lbldfgd" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    trtr:
                </td>
                <td>
                    <asp:Label ID="lblMrtr" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    dgag:
                </td>
                <td>
                    <asp:Label ID="dfgdg" runat="server" />
                </td>
            </tr>
            <tr>
                <td valign="top" >
                   cbcvb:
                    <br />
                </td>
                <td valign="top">
                    <asp:Label runat="server" ID="bcvb"   />
                </td>
            </tr>
    </table>

Open in new window

Avatar of 1jaws

ASKER

didnt work.. with image to visible to true it shows a gap between first row and second row.. and without image, still no change
ASKER CERTIFIED SOLUTION
Avatar of Easwaran Paramasivam
Easwaran Paramasivam
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1jaws

ASKER

thanks guys!