且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在一个datalist单元格中插入Circle

更新时间: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

Using CSS is not a good idea, as It wont support in IE

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/[^]