Hey all,

I'm not sure if IE can support this, but I'm trying to get the dimensions of an element that has percentages for height/width.  In the example code below, I'm trying to get the dimensions for the 'MyCell' element.  Firefox supports Element.getDimensions('MyCell'), but IE returns 0 for the height & width returned by that call.

Thanks

Jim


___________________________________________

<table cellspacing="0" cellpadding="0" border="0" style="height:100%;width:100%">
    <tr>
        <td>
some text
        </td>
    </tr>
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr height="100%">
        <td width="100%" id="MyCell" valign="top">
some other stuff
        </td>
    </tr>
</table>

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to