Restrict the Table TD size.

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

    Restrict the Table TD size.

    Hi,
    I am working in a framework based project where my html
    page is rendered inside that framework. The framework code is
    done by other team and that can not be modified.

    Here is my problem :

    <table>
    <<snip parts by framework>>
    <tr>
    <td><img src="/s.gif" alt="" border="0" height="1" width="9"></td>
    <td width="100%">
    <table border="0" cellpadding="0" cellspacing="0"
    width="100%"><t r><td><img src="/s.gif" width="1" height="3"
    alt=""></td></tr><tr><td>Logg ed User:ME</td></tr></table>
    <!-- My table goes here-->
    <table>..</table>
    <!-- My table ends here-->
    </td></tr></table>

    I want to have my table to grow at any size..but I want to keep the
    framework table to some specified limit. As the framework table has
    100% it is growing with my table.

    Is there any possibility that we can separate the dependency of
    growing framework table on my table?

    thanks,
    Guru.
  • Dag Sunde

    #2
    Re: Restrict the Table TD size.

    "Guru" <rampaadh@yahoo .com> wrote in message
    news:ab9532c9.0 409240050.6ed06 f77@posting.goo gle.com...[color=blue]
    > Hi,
    > I am working in a framework based project where my html
    > page is rendered inside that framework. The framework code is
    > done by other team and that can not be modified.
    >
    > Here is my problem :
    >
    > <table>
    > <<snip parts by framework>>
    > <tr>
    > <td><img src="/s.gif" alt="" border="0" height="1" width="9"></td>
    > <td width="100%">
    > <table border="0" cellpadding="0" cellspacing="0"
    > width="100%"><t r><td><img src="/s.gif" width="1" height="3"
    > alt=""></td></tr><tr><td>Logg ed User:ME</td></tr></table>
    > <!-- My table goes here-->
    > <table>..</table>
    > <!-- My table ends here-->
    > </td></tr></table>
    >
    > I want to have my table to grow at any size..but I want to keep the
    > framework table to some specified limit. As the framework table has
    > 100% it is growing with my table.
    >
    > Is there any possibility that we can separate the dependency of
    > growing framework table on my table?
    >[/color]

    Wrap the framework table in a div section with a specified width,
    that way, the table's 100% will be related to 100% of it's parent
    (the div)

    <div style="width:50 0px;">
    <table>
    <<snip parts by framework>>
    <tr>
    <td><img src="/s.gif" alt="" border="0" height="1" width="9"></td>
    <td width="100%">
    <table border="0" cellpadding="0" cellspacing="0"
    width="100%"><t r><td><img src="/s.gif" width="1" height="3"
    alt=""></td></tr><tr><td>Logg ed User:ME</td></tr>
    </table>
    </div>

    <!-- My table goes here-->
    ....

    --
    Dag
    58°26'15.9" N 008°46'45.5" E


    Comment

    • Guru

      #3
      Re: Restrict the Table TD size.

      No . that is also the part of framework.
      My control starts from
      <!-- My table goes here-->
      I can not make a wrapper div over the framework code.
      Sorry if i explained wrong in my previous post.



      "Dag Sunde" <ds@orion.no-way> wrote in message news:<nvR4d.159 $HA5.10956@juli ett.dax.net>...[color=blue]
      > "Guru" <rampaadh@yahoo .com> wrote in message
      > news:ab9532c9.0 409240050.6ed06 f77@posting.goo gle.com...[color=green]
      > > Hi,
      > > I am working in a framework based project where my html
      > > page is rendered inside that framework. The framework code is
      > > done by other team and that can not be modified.
      > >
      > > Here is my problem :
      > >
      > > <table>
      > > <<snip parts by framework>>
      > > <tr>
      > > <td><img src="/s.gif" alt="" border="0" height="1" width="9"></td>
      > > <td width="100%">
      > > <table border="0" cellpadding="0" cellspacing="0"
      > > width="100%"><t r><td><img src="/s.gif" width="1" height="3"
      > > alt=""></td></tr><tr><td>Logg ed User:ME</td></tr></table>
      > > <!-- My table goes here-->
      > > <table>..</table>
      > > <!-- My table ends here-->
      > > </td></tr></table>
      > >
      > > I want to have my table to grow at any size..but I want to keep the
      > > framework table to some specified limit. As the framework table has
      > > 100% it is growing with my table.
      > >
      > > Is there any possibility that we can separate the dependency of
      > > growing framework table on my table?
      > >[/color]
      >
      > Wrap the framework table in a div section with a specified width,
      > that way, the table's 100% will be related to 100% of it's parent
      > (the div)
      >
      > <div style="width:50 0px;">
      > <table>
      > <<snip parts by framework>>
      > <tr>
      > <td><img src="/s.gif" alt="" border="0" height="1" width="9"></td>
      > <td width="100%">
      > <table border="0" cellpadding="0" cellspacing="0"
      > width="100%"><t r><td><img src="/s.gif" width="1" height="3"
      > alt=""></td></tr><tr><td>Logg ed User:ME</td></tr>
      > </table>
      > </div>
      >
      > <!-- My table goes here-->
      > ...[/color]

      Comment

      Working...