Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 06-21-2004, 07:39 PM   #1 (permalink)
Crazy
 
Location: Arnold, MD
[html]Horizontal scroll lock?

Is there a way to only lock the horizontal scroll bar, not the vertical one? I've done a quick search on it with no luck. Any ideas on how to do this?
j0hnb is offline  
Old 06-22-2004, 02:36 PM   #2 (permalink)
Junkie
 
Do you mean eliminate the horizontal scrollbar completely? I'm not sure why you would want a page wider than the window width but not want the user to be able to scroll over it.
SinisterMotives is offline  
Old 06-22-2004, 05:18 PM   #3 (permalink)
Crazy
 
Location: Arnold, MD
I'm using iframes, and all the info fits within the frame but no matter what I do I am still getting a horizontal scroll bar. The page that the iframe loads is pretty much a table with some text, I cut that to half the size of the iframe and I still get the scroll bar. I can't figure out what is wrong with it, so I want to remove it.
j0hnb is offline  
Old 06-22-2004, 05:29 PM   #4 (permalink)
Junkie
 
Scrollbars can only be turned off as a set in windows and frames, not just the individual horizontal or vertical scrollbar.

Does the problem occur in every browser, or just the one you're using? The only reason it would be showing a scrollbar is if part of the content is wider than the window. You may want to put temporary visible borders on all of the TABLE and DIV elements in that page so you can see what they're doing. In particular, a DIV with a width of 100% will expand to the width of the entire page rather than to the width of the containing block in Mozilla.
SinisterMotives is offline  
Old 06-25-2004, 03:29 AM   #5 (permalink)
Upright
 
Location: Easley, SC
not true... you can turn off individual scrollbars (in IE atleast)

this belongs on the page in the iframe.:

<body style="overflow-x:hidden;overflow-y:scroll;">
Seventhnight is offline  
Old 06-25-2004, 09:11 AM   #6 (permalink)
Junkie
 
Doh! Why didn't I think of that?

Regardless of that, it would be a good idea to find out why your page is forcing a horizontal scrollbar before you use a kludge to fix it. Kludging a layout or stylesheet tends to make for messy code - exactly the thing CSS was designed to help eliminate.

Last edited by SinisterMotives; 06-25-2004 at 09:14 AM..
SinisterMotives is offline  
Old 06-26-2004, 08:35 AM   #7 (permalink)
Crazy
 
Location: Arnold, MD
Thanks
j0hnb is offline  
 

Tags
htmlhorizontal, lock, scroll


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 09:16 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54