You must add the declaration of your declaration to your page - this will make sure that most browsers behave as close as possible. At the very least, this will eliminate one class of potential problems.
In most cases, when it comes to scrollbars, they will appear only when the content is wider / higher than the client display area, regardless of CSS rules.
source
share