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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table width in % for NS4

    <table width="100%" border="0" cellspacing="0" cellpadding="3">
    <td width="18%" align="left" valign="top">
    <%@include file="html-tree.jsp" %>
    </td>
    <td width="10" background="images/dots_vertical_with_spacer.gif">&nbsp;</td>
    <td width="82%" align="left" valign="top"><%@include file="html-footer.jsp" %></td>
    </table>

    In IE and NS6 it works (a vertical dotted line in the middle)
    But in NS4 I'm getting more vertical lines in the middle

    Does anyone know what's wrong ? (when I change the percentages I'm having the same problem)

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    umm .. if you'd tell us WHAT problem you're having - we might be able to help

    ~Quack

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In IE and NS6 it works (one vertical dotted line in the middle)
    But in NS4 I'm getting more (4) vertical lines in the middle

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Auckland New Zealand
    Posts
    115
    Thanks
    0
    Thanked 0 Times in 0 Posts
    HHHmmmmmmm

    Not too sure, but the first change would be to set absolute widths,

    <table width="760" border="0" cellspacing="0" cellpadding="3">
    <tr>
    <td width="140" align="left" valign="top">
    <%@include file="html-tree.jsp" %>
    </td>
    <td width="10" background="images/dots_vertical_with_spacer.gif"> </td>
    <td width="610" align="left" valign="top"><%@include file="html-footer.jsp" %></td>
    </tr>
    </table>


    % is a real pain in NS, if you are out by 1% NS reformates the whole table, .......so the other starting point would be to set the table do that it equals 100% - you have 100% + 10

    Tonz
    Beware, the Cybertooth tiger cometh

  • #5
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,033
    Thanks
    0
    Thanked 248 Times in 245 Posts
    is the vertical dotted line the td background image dots_vertical_with_spacer.gif?

    <td width="10" background="images/dots_vertical_with_spacer.gif"> </td>

    background image for td does not work with NS4.X


  •  

    Posting Permissions

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