更新时间:2022-12-30 13:45:29
使用CSS
不是一个好主意,因为它不支持IE
你可以尝试喜欢这个
使用任何在线工具创建一个带透明边框(圆形)的cirlce
然后你可以使用它图像为圆形并放置标签控件以使用 CSS 显示该圆上的数字[ ^ ]您可以实现此功能
使用此链接显示图像上的文本
http:// css-tricks。 com / text-blocks-over-image / [ ^ ]
I have to display a number in Datalist cell where i have to display the number in circle
UsingCSS
is not a good idea, as It wont support inIE
you can try like this
Create a cirlce with transparent border (shape of circle) using any online Tool
Then you can use that image as a circle shape and Place a label control to display the Number on that Circle using CSS[^] you can achieve this functionality
Use this link for Displaying Text on the Images
http://css-tricks.com/text-blocks-over-image/[^]