I have an image in a gridview,
I want dynamic text inside this image. Text I am getting from this way from the database:
<%#DataBinder.Eval(Container.DataItem,"textForImage")%>
but to show inside t开发者_开发知识库his buuble? which control i have to use?
You can set this image as a background-image
on a div
and place the text inside the div
and position it using CSS
<div class="bubble">
<%#DataBinder.Eval(Container.DataItem,"textForImage")%>
</div>
.bubble
{
background-image:url(...);
}
You need to set the background image of a division to the bubble and then create the text inside that division.
精彩评论