GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Removing horizontal scroll with i-f-r-a-m-e (https://gfy.com/showthread.php?t=720888)

Sly 04-03-2007 03:28 PM

Removing horizontal scroll with i-f-r-a-m-e
 
I'm using an i-f-r-a-m-e on a site and apparently its showing a horizontal scroll bar. I'm not getting it but others are. I can't figure out how to drop the horizontal scroll only.

Is this possible?

Wooo an actual webmaster/tech question?!

tical 04-03-2007 03:30 PM

scrolling=no

or

keep your page within the iframe width dimensions

fuzebox 04-03-2007 03:30 PM

scrolling=none ?

Ice 04-03-2007 03:33 PM

http://www.adobe.com/devnet/dreamwea...al_scroll.html

Sly 04-03-2007 03:34 PM

Pretty sure that eliminates the vertical as well, which is what I was needing. Did my best to keep the page within the dimensions, but with text you would think it would automatically fill properly to utilize the vertical scroll without requiring a horizontal scroll. Obviously not.

tical 04-03-2007 03:35 PM

put the text on your page in a table with a fixed width so that it wraps

Sly 04-03-2007 03:36 PM

Quote:

Originally Posted by tical (Post 12190125)
put the text on your page in a table with a fixed width so that it wraps

Heh. Amazing how the simplest solutions sometimes elude you.

Thanks.

tical 04-03-2007 03:41 PM

Quote:

Originally Posted by Sly (Post 12190130)
Heh. Amazing how the simplest solutions sometimes elude you.

Thanks.

werd, you owe me 10 signups... sign up to camspotcash now!! :thumbsup

Boobzooka 04-03-2007 04:25 PM

Put this in the head. Should cover all browsers.

Code:

<style>
body {overflow-x: hidden; overflow-y: auto;}
</style>

<style>
html {overflow:-moz-scrollbars-vertical;}
</style>


gornyhuy 04-04-2007 12:28 PM

Quote:

Originally Posted by DareRing (Post 12190389)
Put this in the head. Should cover all browsers.

Code:

<style>
body {overflow-x: hidden; overflow-y: auto;}
</style>

<style>
html {overflow:-moz-scrollbars-vertical;}
</style>


Yep, this works for me in some really complicated web2.0 apps across all tested browsers, and works better than an table for non-text content.


All times are GMT -7. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123