problem with the cell of the table

Discussion in 'Javascript' started by Garg, Nov 23, 2007.

  1. Garg

    Garg Guest


    I am having a table and i want that each cell should not change the
    width and accommodate max num of char. like text-overflow : ellipsis;
    overflow : hidden do for a div tag but this didn't work for td tag and
    i can't put div in each cell. so is there any substitute for the 'text-
    overflow : ellipsis' for td

    Garg, Nov 23, 2007
    1. Advertisements

  2. Garg

    Garg Guest

    my apology for this.
    I believe that both are closely bound so if any group member knows the
    solution then he can help me out.

    Garg, Nov 23, 2007
    1. Advertisements

  3. Garg

    Nag Guest


    I agree with Greg. This question is nothing to do with this
    Group. You can using the following example and try to resolve your
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <TITLE> New Document </TITLE>
    overflow: hidden;
    text-overflow: ellipsis;
    table-layout: fixed;
    border-collapse: collapse;
    overflow: hidden;
    text-overflow: ellipsis;

    <TABLE border=1 cellpading=0 cellspacing=0 width=25%>
    <TD><nobr title='This is for testing'>CELL 1: This is for
    <TD><nobr title='CELL 2: This is for testing'>CELL 2: This is for
    <TD><nobr title='CELL 3: This is for testing'>CELL 3: This is for

    Nag, Nov 23, 2007
  4. Garg

    Steve Swift Guest

    Steve Swift, Nov 23, 2007
  5. There are no members here. Usenet is organized into groups about topics,
    not into groups of people. Now go away, please.

    Thomas 'PointedEars' Lahn, Nov 24, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.