Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frameset and scrollbar --

Status
Not open for further replies.

link9

Programmer
Nov 28, 2000
3,387
US
I know this is off topic, but I know there are alot of good web folks in this forum, so I'm hoping someone has had this issue before and has gotten it taken care of... we've been stabbing at it since yesterday in the html forum...


There are two versions of this test file of a page that has a problem... the problem is that no matter what I do (or what anyone suggests), there is always a 'gutter' over on the right side of the page where a scrollbar should be if one was needed.

The issue is that we don't need one, and only want one if one is needed. Everything was fine until I put the site into a frameset, which put that gutter only on whatever page is in the top frame -- which is also a little baffling...

If anyone thinks they can help, then I sure would appreciate some input, as the actual site that the above pages mimic is live and clients are looking at it -- the link was sent out and the frameset was an afterthought, and one that my boss is fairly intent on keeping in...

We are also talking about it over in the html forum if anyone wants any background on the issue... I have set the rightmargin=0 and turned scrolling="auto" on the frameset.

Ok -- help me please, and thanks! :)
Paul Prewett
 
Adding a scroll=no to your body tag in main.asp seems to get rid of it... But I guess this really doesn't solve your problem in case you do need one!

;-)
 
link 9,
we had the same problem with our website, coz we also use multiple framesets, in fact we also got that same gutter in our main screen. that gutter is there coz you've set scroll=default (sometimes even scroll=no doesnt even get rid of the gutter). try this : in the <frameset> tag holding the screen with the gutter include these parameters:

marginheight=&quot;0&quot; marginwidth=&quot;0&quot;

if this doesn't do any good then make a frameset appear in that screen (thereby slicing that screen into two screens) with the upper part of it (or the lower part whatever u like) show the actual page and the other part declared as having the size = 1% (actually this page is a dummy page, it has nothing to show only help the page the other page show without the gutter. dont forget to include the marginheight and marginwidth parameters in this frameset.

the above staements may sound a little vague, it could help me a lot in explaining this to you if i could actually see the page.

hope it helps.

biggie
 
big>> just a slight correction to your info. There's no point in running the risk of a 1% frame in the bottom showing a white line. Best to set the frames to (100%,*) ---this makes the lower frame 0 in size. davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
the man of the hour has spoken. i was wondering when you'll show up!

that is a good suggestion, wonder why i hadnt thought of that? we'll what i did to my page is i just matched the background of both pages the same and border=0.

another thing im wondering is when will link9 see this updates. and also what time it is in old's place. i assume dav and i have 7 hour difference, so is it 2 am in your place dave?


biggie
 
EST here in Montreal! As Toronto or New York!
Pushing it by one hour... Sunday at 2:00am!

Link9 almost got it working... See Html forum.
Problem is... They're several ways of getting rid of it, but it's permanent. The problem arises when you do need the scroll on another page!

;-)
 
If I may, she says in a tiny little voice, what about :
in the body tag of the frame set :
scroll= auto
margin width=0
margin height=0

but also, for it to work in IE
top margin=0
left margin=0

and then specify the frame set of your object to be exactly the same size of the page you are putting in this frame (or 100% like mister Dave said, but what happens if you have bitmaps in that frame? wont they get distorted?) and then align center (div tag =center)

Am I making any sense at all? I am to me, but then may be it's la cerveza

Patricia
 
Here's a link to a test page that I just re-posted.

I had just about given up, so I took down the one that I posted earlier for WebGodiva in HTML forum.

Anywho, I'll be tinkering with it today, and if anyone comes up with a solution, there will be stars flying. ;-)

Thanks for all your input. Is this place great, or what?!?

 
Patricia, I have tried the margin setting for the pages that are in the frameset. That was my first avenue... but it was a dead end. :-(
 
hi link

Sorry I haven't been able to perform any testing on this for you, I've just finished some requests and I'll be whacked with paid work over the weekend. However, I'll spend all-day Monday doing as much as I can on this for you, so if you find your solution before then can you let me know?

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
What can I say, man? Just thanks, and yes, if I figure it out before Monday, I'll certainly post it up here so no more time is wasted on this thing...

Thanks again to everyone.

paul
 
Hey! Link9!

Not that I have much time either this afternoon to spend on this... Will try tonight though! Interesting challenge!

For testing, could you post an url of a page where you do need a scrollbar?

;-)

 
So done...

Now, if you click on &quot;Current Performance and Best in Class&quot;, it takes you to a replica of that main page with a bunch of line breaks at the bottom...

Click it again to go back to the one that doesn't need them.

:)

 
Link,
I understood, from the html forum, this was supposed to be working with NS. Your above link doesn't! And furthermore there's a problem with the bottom frame... Can see but half of it! I believe Dave had some kind of a relatated problem, maybe he can have a look at it.

As for IE, don't get your hopes to high up, but I have this working:


Try your 1st line link which should take you to your replica page. Hit that first line link again to go to another page that doesn't need a scrollbar.

;-)
 
Ok!
For Netscape... Outside of the bottom frame problem, the only thing I can come up with, is that NS has problems with % in tables. That's basicly the difference between your first page and my last one (called from your replica), this last one not being in a table.

;-)
 
Ok, I'm officially convinced now that it's just a bug in the browser and I'll just have to use the workaround that old here has suggested. The pages I know will never need a scrollbar, I'll tell not to have one... the ones that might, I'll just either deal with the gutter or put line breaks at the bottom so it doesn't look as bad...

Thanks for everyone's help... I know you have better things to do than to work on this...

:)
paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top