Last post Jan 26, 2008 09:58 AM by jeenajos
Jan 26, 2008 04:06 AM|jeenajos|LINK
My doubt is that in a webform, im having an image of a mobile phone. Can i place a label on image and display the text inside the label, which looks like an sms in mobile phone???
If anyone knows, pls suggest some solution for this....
Jan 26, 2008 07:28 AM|siva_sm|LINK
Already discussed here: http://forums.asp.net/p/1110109/1708488.aspx
Jan 26, 2008 07:33 AM|Jeev|LINK
In a regular asp.net application , you would set the image as the bankground and then use an absolute positioned html element with a higher z-index to make it appear over it. Try this out and see if it works .
Jan 26, 2008 07:43 AMemail@example.com|LINK
if you just want to display text on image then use any of these controls - Label or Span or Div
Set the background property of the style of the control as the image u want to display.
<asp:Label text="MyText" runat="server" id="label1" style="background:url(myfolder/myimage.jpg);"/>
<div style="background:url(myfolder/myimage.jpg);"> My TEXT </div>
image with text
Jan 26, 2008 09:58 AM|jeenajos|LINK
Thanks to all for ur quick reply.......