Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Need Help for this alignment problem while displaying (Very urgent)

    I am working on a intranet based project.This application will be used only in IE.Sometimes my screen is not aligning properly.

    i have attached 3 (.jpg) file which will explain u how my screen is is not aligning properly:

    1) 1.jpg file is the actual required align, and in some pages it is displaying correctly.
    2) 2.jpg and 3.jpg file is actually a single screen that is is not aligning properly.i have splited into 2 JPG files

    for some cases the screen is aligning correctly and for some cases it is not
    not aligning properly:

    The below portion which is giving alignment problem, is used in many screens.
    That's why i have created a function in a common asp file, and calling that function whenever it is required by using "<!--#include file="


    -----------------------------------------------
    <%
    Private function RepBCPane(strBranchCode, tabindex)
    %>
    <table width="645" height="19" class='TABLEBDR_BG1' align="center">
    <tr bgcolor="#d0ddc6" >
    <td width="645" height="100" align="middle" >
    <div align="center">
    <div class="DIVTABLE" style="HEIGHT: 129px; WIDTH: 645">
    <table width="650" height="40" align=center border=0 bordercolor=#336600 cellpadding=0 cellspacing=0>
    <tr bgcolor="#d0ddc6" >
    <td><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Business center</b></td>
    </TR>
    <TR bgcolor="#d0ddc6">
    <td>&nbsp</td>
    </TR>
    <tr bgcolor="#d0ddc6">
    <td width="690" height="40" align="middle" >
    <div align="center">
    <table width="100%" cellspacing = "0" cellpadding = "0">
    <%
    Dim objRS, cntBC
    cntBC = 1
    Set objRS = GetSalesPointBusinessCenter(strBranchcode)
    If objRS.EOF Then
    Response.Redirect "RepErr.asp?ErrorStatus=2"
    end if
    While not objRS.Eof
    %>
    <tr width="100%">
    <td width="10%" align="center">
    <input type="checkbox" name="chkBC_<%=objRS("Code")%>_" class="INPUT_NB" tabindex="<%=tabindex%>">
    <input type="hidden" name="hidBC_Code_<%=cntBC%>_" value="<%=clng(objRS("Code"))%>">
    <input type="hidden" name="hidBC_Name_<%=objRS("Code")%>_" value="<%=cstr(objRS("Description"))%>">
    </td><td>&nbsp;</td>
    <td width="35%" align="left">
    <%=objRS("Code") & " - " & objRS("Description")%>
    </td>
    <%
    tabindex = tabindex + 1
    cntBC = cntBC + 1
    objRS.MoveNext
    If Not objRS.EOF then
    %>
    <td width="10%" align="center">
    <input type="checkbox" name="chkBC_<%=objRS("Code")%>_" class="INPUT_NB" tabindex="<%=tabindex%>">
    <input type="hidden" name="hidBC_Code_<%=cntBC%>_" value="<%=objRS("Code")%>">
    <input type="hidden" name="hidBC_Name_<%=objRS("Code")%>_" value="<%=objRS("Description")%>">
    </td><td>&nbsp;</td>
    <td width="35%" align="left">
    <%=objRS("Code") & " - " & objRS("Description")%>
    </td>
    <%
    cntBC = cntBC + 1
    tabindex = tabindex + 1
    objRS.MoveNext
    Else
    %>
    <td width="10%">&nbsp;</td><td>&nbsp;</td><td width="40%">&nbsp;</td>
    <%
    End if
    %>
    <tr>
    <%
    Wend
    %>
    <input type="hidden" value="<%=cntBC-1%>" name="hidBCTotalCount">
    </table>
    </div>
    </td>
    </tr>
    </table>
    </Div>
    </div>
    </td>
    </tr>
    </table>

    <%
    RepBCPane = tabindex
    End function
    %>
    -------------------------------------------------------------------------

    I am strucking my head.Please suggest me solution.
    Attached Thumbnails Attached Thumbnails Need Help for this alignment problem while displaying (Very urgent)-1.jpg   Need Help for this alignment problem while displaying (Very urgent)-2.jpg   Need Help for this alignment problem while displaying (Very urgent)-3.jpg  

  • #2
    New Coder
    Join Date
    Dec 2005
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try adding valign=top to your td tags

    Code:
    <td valign=top>
    You can use valign=top, bottom, or center.
    Web hosting...webmaster support http://www.eofficeprofessionals.com/forums
    Offer solutions-not criticism.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •