Hi. I would be very grateful if you could help me solve two things that I don't know how to do (or that have still come out).

  1. How can I center the button (btn1) in the second div (center in the white box), without using "px" but using only percentage? (or simplified method for centering?).

Thank you very much for helping me, I really appreciate it.
Code:
https://www.w3schools.com/code/tryit.asp?filename=GOJYT4UZNHMR

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.