Click to See Complete Forum and Search --> : Disable ONLY horizontal scrolling??
sragaporni
11-06-2003, 07:24 AM
Hi:
I would like to know if it is possible to disable ONLY horizontal scrolling inside a frame or a normal html page while vertical scrolling is enabled.
Thx so much.
DaveSW
11-06-2003, 09:33 AM
<style type="text/css">
<!--
body {
overflow-x: hidden;
}
-->
</style>
In the head section of the page you want to prevent overflow on.
sragaporni
11-06-2003, 09:42 AM
Thx man, it was so easy... I suspecto that using css styles will help to find the answer, but i am a bit stressed those days and my mind doesnt work as fine as it should.
Thx very much again, i debt you a beer ;)
See you.
DaveSW
11-06-2003, 09:44 AM
Originally posted by sragaporni
i debt you a beer ;)
Cheers! In the post is it? LOL
sragaporni
11-06-2003, 09:51 AM
It would be great, but i am afraid it is not possible. But if u live near Valencia in Spain, maybe i can pay my debt :)
DaveSW
11-06-2003, 10:00 AM
LOL :(
Just joking. :D
sragaporni
11-06-2003, 10:08 AM
Damm, i hope you were a preaty blonde woman and maybe i could get somethingo from you far away than an advice... :P
Neverless, thx for your help.
DaveSW
11-06-2003, 10:28 AM
So that's what the beer was for! I should have known. LOL. Nope, I'm afraid I can't help you there buddy. :D
sragaporni
11-06-2003, 10:40 AM
Ouch, and... dont u have any sister or cousin? I mean: 1.75cm, blonde, huge pit, good bottom... you know, something common... (hehe)
Something like this:
edit - Sorry, attachment removed. We've got too many kids visiting the site... :)
DaveSW
11-06-2003, 11:46 AM
Hmm, I'm sorry, but I don't know anyone 1.75cm high, let alone with a description like that!
Robert Wellock
11-06-2003, 12:25 PM
Is probably a adult-orientated image he saw on the web hence the 1.75 cm of the graphic.
sragaporni
11-06-2003, 12:30 PM
Nonono, it was only a good looking girl, very well dressed, but a good example of what i was lookin for, hehe.
PeOfEo
11-06-2003, 04:52 PM
and she was only 1 & 3/4 cm tall? Was she really fat? Otherwise I do not see what this has to do with horizonal scroll bars (Get it, if she is fat she would be too wide for the browser, heh heh heh, My dry humor is... never mind)
nkaisare
11-07-2003, 06:39 PM
Just so you know, thats a proprietary IE code. overflow-x is not a valid CSS property. It doesn't work in other browsers; heck it doesn't even work with IE/Mac.
http://www.w3.org/TR/CSS2/visufx.html#overflow
sragaporni
11-07-2003, 06:56 PM
So, is there any way to make it work in all browsers? As far as 95% of the people wich visits my website has I.E 5.5+...
PeOfEo
11-07-2003, 08:27 PM
how about make the contend in your iframe fluid so that it resizes to always be less in width then the iframe? That would do it.
sragaporni
11-07-2003, 08:41 PM
That is true, but i dont want to use iframe or framesets at all, i am looking the "simplest" design possible, and faster, of course. Nevertheless, thx for your help :)
PeOfEo
11-07-2003, 08:55 PM
Well if you want a nice layout with relativly little code I would go with css. Css layouts can tend to be buggy on ie due to its poor handleing off css but once you get the bugs ironed out you will see all of its advantages. One is the code for the layout only has to be written one time for it to affect all pages on your site, the second is it saves on bandwidth, the third is it can sort of break away for older browsers, they just do not see the code so it looks like text based. This might be helpful www.bluerobot.com
If you still want scrolling look into the overflow:auto;