A simple question

in CSS, there is a property called max-width and max-height.
When the content of an element exceeds its defined max-height,we use a property called overflow which hides or puts a scrollbar for the user.

My question is,can this property be used when max-width has been used up?Can we use overflow property to get a horizontal scrollbar too?

you can get horizontal scrollbar with
overflow-x:scroll so yes for what you are asking.