Reputation: 303
I have a flash banner ad that's being shown on a website as an ad at the bottom of the page. When the banner ad appears the scroll bar disappears. The following css is added to the page when the flash banner is present:
body {margin: 0; padding: 0; overflow: hidden;}
The "overflow: hidden" is causing the scroll bar issue, but I have no idea where it's coming from.
Is there any way a flash banner could affect the css on the page?
Upvotes: 0
Views: 136
Reputation: 34
I've had this problem too. It seems when I publish a Flash Banner Ad onto googles Double Click studio, my flash ads are causing the scrollbar on the page that it gets loaded to to disappear. It seems to only be my ad, as the other ads in rotation do not do this.
body{
margin: 0;
overflow:hidden;
padding:0;
}
Upvotes: 1
Reputation: 8217
The overflow: hidden;
property on body
tag causes anything outside current browser scope to be invisible, therefore the browser won't render any scrollbars. Remove this property and put it somewhere more acceptable, for example on a div where banner is present.
Upvotes: 0