Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Iframe and scrolling

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Brusca

Established Member
Impact
0
Hi Guys,
I have an iframe which displays another page. Its all set up to automatically scroll. But when the page does require to scroll I get a vertical scroll as well as a horizontal scroll. Now the content of the page displayed does not extend itself past the width of the iframe and no matter what I do (reduce the width of the target page) it still comes back with a horizontal scroll bar. Its very annoying.

Any help cheers

Bruce
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Hey Brusca, give this a shot:
Code:
<body style="overflow-x:hidden;overflow-y:scroll">
I hope that does the job.
 
0
•••
Thanks. Gave it a try. Put that body tag in both the page with the iframe and the iframe page as well but no luck.
 
0
•••
Odd, it should have worked if you replaced the current body tag with that. Would you happen to have an uploaded copy of the webpage that we can take a look at?
 
0
•••
The website is here.

www.brusca.id.au

click on "winter 2002" on the left and you will see what i mean.
 
0
•••
The code above (if placed correctly in the target document) should have done the job, but if that's not doing it, browse through this article and see if it helps.
 
0
•••
I have placed this code in the body tag of the target and also the div tag surrounding the table and even adjusted some of the formatting and it still does not work.

Its likely the right way to go about it but I just can't get it working.

Thanks Mr Websites. That article did the trick.

Cheers Bruce
 
Last edited:
0
•••
Glad it all worked out.
 
0
•••
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Parking: find your domains by pasting a list
You can now paste a list of domain names into the search box at the top of the Parking menu. Put one name on each line. Your domain list...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back