How do I contain all the text inside a section?

Hello every one I have a Page where Im using 3 sections. inside the first section I used an


article>.. everything looks great but in small screens the text crosses to the other section (the one below). how do I contain all text inside of each section without invading the other sections ?

PS: im using a Media query min 300px

I'd venture to say that you might have defined a height to your article elements and they are just trying to adhere to that. Since your using media queries, on small screens set the height to auto, or not define a height at all. Or your using floated elements at are not in a parent element that clearfix's so they overflow the parent element. Since I don't know enough about your code, this is all an assumption.