Mozilla table always 100% width?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nick

    Mozilla table always 100% width?

    I have the following html code

    <TABLE id="Table1" cellPadding="1" border="1">
    .....
    <TR>
    <TD>
    <table>
    <tr>
    <td>
    <table style="TABLE-LAYOUT: fixed;">
    <TR>
    <TD style="WIDTH: 90px">Job</TD>
    <TD style="WIDTH: 115px">Manager</TD>
    <TD style="WIDTH: 95px">Word</TD>
    <TD style="WIDTH: 140px">Location </TD>
    <TD style="WIDTH: 140px">Address</TD>
    <TD style="WIDTH: 140px">date time</TD>

    The sum of the width in the inner table is larger than the screen width.
    However, Mozilla always fits the outside table in the screen when the
    sum of the cells in the inner table are larger than screen width.

    Is it possible to let the outside table grow with the width sum of inner
    table?
  • Jukka K. Korpela

    #2
    Re: Mozilla table always 100% width?

    nick <nbdy9@nospam.h otmail.com> wrote:
    [color=blue]
    > I have the following html code[/color]

    You didn't post the URL, just a random snippet of code.
    [color=blue]
    > <TD style="WIDTH: 90px">Job</TD>
    > <TD style="WIDTH: 115px">Manager</TD>
    > <TD style="WIDTH: 95px">Word</TD>
    > <TD style="WIDTH: 140px">Location </TD>
    > <TD style="WIDTH: 140px">Address</TD>
    > <TD style="WIDTH: 140px">date time</TD>[/color]

    Are you seriously telling us that you use that on an HTML page for the
    World Wide Web? And inside a table nested inside a table nested inside a
    table?
    [color=blue]
    > The sum of the width in the inner table is larger than the screen
    > width.[/color]

    And this did not ring a bell?
    [color=blue]
    > However, Mozilla always fits the outside table in the screen
    > when the sum of the cells in the inner table are larger than screen
    > width.[/color]

    I don't see what you mean by that, and I have no interested in
    reconstructing your page for testing when you could have saved everyone's
    time by posting a URL.

    Besides, you are using CSS not HTML for the width suggestions, so
    apparently your problem belongs to c.i.w.a.stylesh eets rather than here.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

    Comment

    Working...