Trouble with positioning (See pictures)

Take a look at the two text blocks “ENERGI” and “+”

I cant get my Text to align to the sides of its container. It seems that after a certain pixel width my text begins to lose its position.

What settings do I need to keep my two text blocks always stay 15px from each side of its container. Hopefully these two pictures explains my problem.


Apply float right and left to those elements and they should stick to the sides.

I believe that is what Ive been doing, but with no success

As you can see my accordion dropdown text stays.

Can you please post your public link?

https://malarmontage-ab.webflow.io/fonster

Thank you!

https://preview.webflow.com/preview/malarmontage-ab?utm_source=malarmontage-ab&preview=b9f9ab9bc7bebc382b765c564b450961

Okay, so you need to remove flex box on the parent container and make it block. Then on the 2 items set them to inline block and fload left/right. That solved the issue for me.

1 Like