Goal: Draw green circle around a number
I want it to look like this:
Problem: It actually looks like this(It seems to take the shape of the number):
CSS:
.oval {
background-color: #92D050;
border-radius: 50px;
width: 200px;
height: 100px;
}
I've tried adjusting the width, but the width has no effect, if I take it out it looks exactly the same.
HTML:
<asp:Image ID="img2" runat="server" CssClass="professoricon"/>
<sup><asp:Label ID="L2" runat="server" Font-Size="20px" CssClass="oval"/></sup>
I used the to give the appearance that the number was slightly higher than the image.
Ive looked at other SO posts such as Circle around inline number as well as articles such as https://www.w3schools.com/howto/howto_css_circles.asp