T
tshad
Is there a way to display images (imageButtons or linkbuttons for instance)
as a max size (200px by 50px) and not have it stretch the image?
What I want to be able to do is limit the real estate an image can take up
but not stretch the image if it happens to be 150px by 40.
I am doing commands such as:
<asp:ImageButton ID="CompanyLogo" onClick="Image_Click" Width="200px"
Height="50px" runat="server"/>
Thanks,
Tom
as a max size (200px by 50px) and not have it stretch the image?
What I want to be able to do is limit the real estate an image can take up
but not stretch the image if it happens to be 150px by 40.
I am doing commands such as:
<asp:ImageButton ID="CompanyLogo" onClick="Image_Click" Width="200px"
Height="50px" runat="server"/>
Thanks,
Tom