Lets say take this as an example:
Test
This is unlikely that you will have a single word or string such long length without any spaces. Please reconsider the length of your actual content. Using overflow:hidden
you will only hide the extra text outside of the container, i assume thats what you wouldn't want. If you really need a single word which is this much (or even more) long then you need to use word-wrap:break-word
or word-break:break-word
. Still you can read the following posts for further reference.
how to use automatic css hyphens with word-break: break-all?
How to break long words in a table td?
http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/