So I have a volume slider in a chrome extension that has 3 <p>
tags above it, one with float: left
, one with text-align: center
, and one with float: right
. The expected outcome would be something like [0% 100% 500%]
, yet it has this weird bump where the 100% is, as shown below.
Here's the code that relates to this part:
index.html
<p style="float: left;">0%</p>
<p style="float: right;">500%</p>
<p id="amount">100%</p>
style.css
#amount {
text-align: center;
}
I am frankly at a loss with this. Any help appreciated.