Quote:
"bruce barker" <nospam@nospam.comwrote in message
news:O5%23Dk77SHHA.4832@TK2MSFTNGP04.phx.gbl...
width and height are hints. to force absolute sizes you need to use a
style command. also unless you specify an overflow behavior, the image
will still be bigger than the table. you could specify a size of the
image
and the browser will scale it.
>
How do you do that?
>
I tried making the changes to styles and I am still getting the same
problem:
>
<anthem:Panel ID="GeoCodesDiv" Visible="true"
style="position:absolute;
top:110px; left:500px; z-index:2000" runat="server">
<table class="dataTable" style="height:400px; width:500px" border="0"
cellpadding="0" cellspacing="0">
<tr style="height:400px">
<td nowrap style="width:500px">
<asp:Image id="CompanyPicture" ImageUrl="\uploads\SmartCorner1.jpg"
runat="server"/>
</td>
</tr>
</table>
</anthem:Panel>
>
Tom
-- bruce (sqlwork.com)
tshad wrote:
I have a table with an image in it that is larger that the width and
height.
>
<table class="dataTable" width="500px" height="400px" border="0"
cellpadding="0" cellspacing="0">
<tr height="400px" >
<td nowrap style="width:500px">
<asp:Image id="CompanyPicture"
ImageUrl="\uploads\SmartCorner1.jpg"
runat="server"/>
</td>
</tr>
</table>
>
If the picture is 600 by 500, it goes over the size of the table.
>
With text, this would force it to wrap.
>
Isn't the table dimensions supposed to constrain the image and text to
that maximum size?
>
Thanks,
>
Tom
>
>
>