locked
height, width and percent RRS feed

  • Question

  • I know if i use percent in width or height, i'm referring to container object...

    My question is:

    if container object have 100% in width or height, is it useful put width/height = 100% in inner one if it's the only one inner object?

    Es.:

    <table height="100%">

    <td>

    <tr height="100%">

    <div style="height ="100%">

    <datagrid height="100%">

    </datagrid>

    </div>

    </tr>

    </td>

    </table>

    Thursday, January 12, 2006 3:30 PM

Answers

  • Yes it is, the inner object will fill the table. And when you resize the table you inner object will resize as well.
    Thursday, January 12, 2006 3:35 PM