Abx
(Albin)
March 4, 2019, 7:02pm
1
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.
DFink
(Dave)
March 4, 2019, 7:25pm
2
Apply float right and left to those elements and they should stick to the sides.
Abx
(Albin)
March 5, 2019, 6:32pm
3
I believe that is what Ive been doing, but with no success
Abx
(Albin)
March 5, 2019, 6:45pm
4
As you can see my accordion dropdown text stays.
DFink
(Dave)
March 5, 2019, 6:49pm
5
Can you please post your public link?
Abx
(Albin)
March 6, 2019, 12:20am
6
Abx
(Albin)
March 6, 2019, 4:19pm
8
DFink
(Dave)
March 6, 2019, 10:48pm
9
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