HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Problem With Frames And Scrollbars
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
STNC



Joined: 29 Mar 2008
Posts: 21

PostPosted: Sat Mar 29, 2008 8:03 am     Problem With Frames And Scrollbars Reply with quote

Hello Everyone,

First Off, I would like to say that I am new to this forum, and I look forward to any help I can get. Anyway, I run a website for my car club, and I am trying to create member pages for the website. I am using a two frame design, but I have run into a problem. The Right Frame wont scroll, and and I cant seem to fix it.

Here is the site in question:Click Here

Any and all help appreciated, thanks!
sticks464



Joined: 31 Dec 2006
Posts: 1169

PostPosted: Sat Mar 29, 2008 10:24 am     Reply with quote

This could possibly be the culprit
name="rightFrame" scrolling="No"
STNC



Joined: 29 Mar 2008
Posts: 21

PostPosted: Sat Mar 29, 2008 10:52 am     Reply with quote

Awesome!!!! Thanks A Bunch!!!!

Is there anyway to get rid of the bottom left to right scroll bar, but keep the vertical one?
STNC



Joined: 29 Mar 2008
Posts: 21

PostPosted: Tue Apr 08, 2008 4:31 pm     Reply with quote

So there is no way to get rid of the horizontal scrollbar?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8312
Location: Castle Pines North, CO USA

PostPosted: Wed Apr 09, 2008 11:32 am     Reply with quote



In your frame, you have
Code:
<frameset rows="*" cols="*,757" framespacing="0" frameborder="no" border="0">

In the menu.html you have
Code:
<img src="http://teamkickass.net/members/stnc/images/MembersSTNC.png" width="506" height="581" border="0" usemap="#Map" />
So if the width of the mainframe in the browser is less than 506 pixels, the scroll will be seen.

Of course this, relies more on the resolution of the browser. When I view it in 1280X800, I see both a horizontal and vertical scroll on the mainFrame.

At 1600X1200, I do not see the horizontal scroll. Of course relying on resolution is never good. If I visited your website, you would see I have 1920X1200 resolution, but my browsers are not maximized.

And then of course, if someone has their history / favorites opened, this would change the display (without you knowing it) as well.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
STNC



Joined: 29 Mar 2008
Posts: 21

PostPosted: Wed Apr 09, 2008 12:50 pm     Reply with quote

so there is nothing i can do basically?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8312
Location: Castle Pines North, CO USA

PostPosted: Wed Apr 09, 2008 3:39 pm     Reply with quote

Yes, don't use frames. There is no need to - I promise. Frames just cause problems (like this).

_________________
Corey
Toll Free Fax Numbers | Yahoo Merchant Account
STNC



Joined: 29 Mar 2008
Posts: 21

PostPosted: Wed Apr 09, 2008 3:40 pm     Reply with quote

what is a better solution?
akram



Joined: 13 Aug 2008
Posts: 2

PostPosted: Wed Aug 13, 2008 6:28 pm     Frame and Resolution Problem Reply with quote

Hi,

I maintaining a system which use HTML and jsp file. The scenario is i have 1 frame (2 src - top and bottom). on the top menu, there are a few links and when user click the menu, bottom layer will change content. my problem is when i change the resolution, those 2 frame layer will mess up. lower resolution will make the layers sit on each other and scroll bar appear.higher resolution will make the gap between those layers.

Since i'm still a newby, i dont really know how to solve this issue. I really hope other could help me.

[below is the code]

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>e-checking System</title>
</head>


<frameset rows="47%,53%" frameborder="no" border="0" framespacing="0">
<frame src="topmenuframe.jsp" name="topFrame" frameborder="no" scrolling="no" marginwidth="1100" align="middle" >
<frame src="bodyframe.jsp" name="main" frameborder="no" scrolling="yes" marginwidth="1100" align="middle">
</frameset>
<noframes>
</noframes>
<body>
</body>
</html>
Crying or Very sad
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8312
Location: Castle Pines North, CO USA

PostPosted: Sat Sep 27, 2008 4:01 pm     Reply with quote

Why are you using frames? I can give you scores of reasons not to use them.

_________________
Corey
Virtual Office Solutions | Processing Credit Cards | Microsoft Expression Web Blog
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial