Hey there, I'm trying to create a CSS circle with text aligned to the right alongside it. Here's the code I've been using:
<div class="circlearancione">Disponibile</div>
.circlearancione{
background-color: red;
border-color: white;
border-radius: 50%;
border-width: 5px;
height: 25px;
width: 25px;
}
However, I am having trouble adding space between the circle and the text. I've tried adjusting the margin and padding but it doesn't seem to work. I also attempted this:
<div class="circlearancione"></div><p>Disponibile</p>
.circlearancione, p { display: inline; }
Unfortunately, this method doesn't display the circle at all. Can anyone tell me what I might be doing wrong? Appreciate any help!