View Full Version : Scrollbar Problem
cavalera
10-21-2003, 09:21 PM
When my page content can be viewed on 1 page (on the screen) everything is allright.
But when the page content gets very long i get a vertical scrollbar (whats very normal).
But i also get an horizontal scrollbar. Is there anything that i can to get that scrollbar from my webpage?
SDP2006
10-21-2003, 09:26 PM
add this to the head of your page<style type="text/css">
body { overflow-x:hidden; }
</style>
cavalera
10-21-2003, 10:13 PM
doenst work
SDP2006
10-21-2003, 10:35 PM
Well, 2 words "doesnt work" is not going to help us help you. We need to see the page, most of all.
cavalera
10-21-2003, 10:39 PM
http://www.cavalera.tk
then go to movies => a for the bad page and movies ==> z for a good example
for the css file
htttp://users.skynet.be/cavalera/Bestanden_Algemeen/opmaak.css
SDP2006
10-21-2003, 10:47 PM
Your table adds up to 101% and in the table tag it is specified width="96%" thus going off the page and adding the horizontal scrollbar -- make it add up to 96 or make it add up to 100
cavalera
10-21-2003, 10:57 PM
adjusted it and still the same prob
Bengal313
10-22-2003, 01:38 AM
All you have to do is put your entire page in a table and make the table with to 100%. Or make sure that the with pixel is no more than 772 pixels.
cavalera
10-22-2003, 03:48 PM
even with text it make a horizontal scrollbar! what did i do wrong?
Bengal313
10-22-2003, 04:42 PM
What software are you using. Because in Dreamweaver, if you drag and change the table length it will change it back to pixels. Also make sure that the table within the master table isn't more than 100%
Roy Sinclair
10-22-2003, 09:43 PM
One thing will always cause that scrollbar to be created. If your content is too wide or tall to fit within the specified size of your table cell then the table cell will be expanded until it's large enough to contain the content. If that forces the table to be wider than the window, you get a scrollbar.
cavalera
10-22-2003, 10:40 PM
yeah but look at movies a on www.cavalera.tk only 1 lettre / line a still giving a scrollbar. The space isent to wide
Bengal313
10-23-2003, 03:39 AM
Try putting the entire content of the of a list into a table first. Meaning first create a table between <body></body> and have the table width equal 100%. Then inside this table put your list.
ronaldb66
10-23-2003, 09:05 AM
I don't know what you're talking about; I viewed the "Movies - A" page and saw nothing but a lot of a's in a vertical row. I narrowed the window down to about 200 px before the horizontal scroll bar showed up.
Roy Sinclair
10-23-2003, 04:16 PM
I see what you're talking about but I can't find the actual frameset you use and since it's that one frame which is getting the scrollbar....
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.