[PHP] - How to hide scrollbar in iframe / whole page

c, c++, php, html, sql ..etc discussion. also includes codes and source codes.
Post Reply
User avatar
Sethioz
Admin
Admin
Posts: 4762
Joined: Fri Jul 27, 2007 5:11 pm
Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz
Location: unknown
Contact:

[PHP] - How to hide scrollbar in iframe / whole page

Post by Sethioz »

Webpage php / html
you have to add the following between "head" tags on your page where you want to hide scrollbars

Code: Select all

overflow:hidden;
here's full example:

Code: Select all

<head>
<style type="text/css">
html {
overflow:hidden;
}
</style>
</head>
IFRAME
scrollbars will be hidden if following line is in present: (inside of iframe tags ofcourse)

Code: Select all

scrolling="no"
but it never worked for me, at least thats what i tought at first. scrollbars still appeared whenever page was larger than iframe, however overflow:hidden worked fine. i added it insde of the page which was put inside of iframe.

reason why scrolling="no" did not work for me, is that these scrollbars are not from iframe, they appear, because the page inside of iframe gets squashed and then that page shows scrollbars, so if you use overflow:hidden in the page that will be put inside of iframe and then use scrolling="no" on iframe, then you can be sure there will be no scrollbars.
akopertoni73
Newbie..
Newbie..
Posts: 8
Joined: Sat Dec 03, 2011 4:43 pm

Re: [PHP] - How to hide scrollbar in iframe / whole page

Post by akopertoni73 »

hi , i wanted to know if there is any software that injects iframe into other pages (not yours) , if not ,are there any simple ways for injecting the ifreme manually ?
User avatar
Sethioz
Admin
Admin
Posts: 4762
Joined: Fri Jul 27, 2007 5:11 pm
Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz
Location: unknown
Contact:

Re: [PHP] - How to hide scrollbar in iframe / whole page

Post by Sethioz »

you just open the file with notepad++ and put iframe where you want it, there is not software to "inject" source codes.
php/html is not something like a game where you inject stuff. on my site i just go to admin panel and edit the page from there.

if you talking about hacking website with iframe, then its wrong topic.
Post Reply