Disable ONLY horizontal scrolling??

admin

Administrator
Staff member
Hi:<br />
<br />
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.<br />
<br />
Thx so much.<!--content--><style type="text/css"><br />
<!--<br />
body {<br />
overflow-x: hidden;<br />
}<br />
--><br />
</style><br />
<br />
In the head section of the page you want to prevent overflow on.<!--content-->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.<br />
<br />
Thx very much again, i debt you a beer ;)<br />
<br />
See you.<!--content-->Originally posted by sragaporni <br />
i debt you a beer ;)<br />
<br />
<br />
Cheers! In the post is it? LOL<!--content-->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 :)<!--content-->LOL :( <br />
<br />
Just joking. :D<!--content-->Damm, i hope you were a preaty blonde woman and maybe i could get somethingo from you far away than an advice... :P<br />
<br />
Neverless, thx for your help.<!--content-->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<!--content-->Ouch, and... dont u have any sister or cousin? I mean: 1.75cm, blonde, huge pit, good bottom... you know, something common... (hehe)<br />
<br />
Something like this:<br />
<br />
edit - Sorry, attachment removed. We've got too many kids visiting the site... :)<!--content-->Hmm, I'm sorry, but I don't know anyone 1.75cm high, let alone with a description like that!<!--content-->Is probably a adult-orientated image he saw on the web hence the 1.75 cm of the graphic.<!--content-->Nonono, it was only a good looking girl, very well dressed, but a good example of what i was lookin for, hehe.<!--content-->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)<!--content-->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.<br />
<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS2/visufx.html#overflow">http://www.w3.org/TR/CSS2/visufx.html#overflow</a><!-- m --><!--content-->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+...<!--content-->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.<!--content-->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 :)<!--content-->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 <!-- w --><a class="postlink" href="http://www.bluerobot.com">www.bluerobot.com</a><!-- w --><br />
If you still want scrolling look into the overflow:auto;<!--content-->
 
Back
Top