İçeriğin taşma sorununu CSS ile çözebilirsin. Şuradaki örnekleri incelemeni tavsiye ederim : https://www.w3schools.com/cssref/try...rycss_overflow