Web Analytics Made Easy -
StatCounter Table width in % for NS4 - CodingForum

Announcement

Collapse
No announcement yet.

Table width in % for NS4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    umm .. if you'd tell us WHAT problem you're having - we might be able to help

    ~Quack

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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
          Glenn
          vBulletin Mods That Rock!

          Comment

          Working...
          X