0
I’m wondering how to line up the spans
beside the labels
as an example:
Mine is like this:
Below is my html:
<!DOCTYPE html>
<html>
<body>
<div class="outputs">
<ul>
<li>
<span class="spans">Prog. Degelos</span>
<label class="labels active">Ativo</label>
</li>
<li>
<span class="spans">Saídas</span>
<label class="labels active">
Refrigeração
</label>
<label class="labels active">
Defrost
</label>
<label class="labels deactivated">
Fans
</label>
</li>
<li>
<span class="spans">SETPOINT</span>
<label class="labels">-5<sup> °C</sup></label>
</li>
<li>
<span class="spans">DIFERENCIAL</span>
<label class="labels">3<sup> °C</sup></label>
</li>
</ul>
</div>
</body>
</html>
and for span text to be on the right?
– Marquin Ferreira
I added the right alignment, just insert text-align: right.
– Bruno Rigolon
It worked, thank you!
– Marquin Ferreira