Reply
Frame problem
Old 03-24-2006, 08:25 AM Frame problem
Junior Talker

Posts: 2
I’m making a website for a friend, which comprises of two frames (top and Bottom) centered in the middle of the page. The top frame holds the header and Nav bar while the bottom frame holds the page contents. The top frame is fixed size and the bottom one can increase in height depending on the content. The problem is that in Firefox if the bottom frame is longer than what the screen will hold or if the browser is resized to less than the bottom frame height the scroll bar that appears pushes the bottom frame to left by the width of the scroll bar. This causes miss alignment with the two frames and looks ugly. It doesn’t happen with IE. I looked around and have seen that this is a known problem but can’t find any way to work round it. If there are any web gurus who can point me in the direction of a solution I would be very grateful.

Thanks in advance

Here is a link to a mock up page to show the problem:



http://www.twistedlinks.co.uk/Test/MFB-Framset.htm
Remnant is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-24-2006, 01:28 PM Re: Frame problem
chrishirst's Avatar
Super Moderator

Posts: 15,314
Location: Blackpool. UK
easy one

Don't use frames.

Frames are an outdated solution.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-26-2006, 10:24 PM Re: Frame problem
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Yeah i changed a few month ago, work with tables, its easier and better
__________________
forum-------> http://www.benjidela.com, for people who wants to have a good time ;)
website------>http://www.benjidela.com (might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 03-27-2006, 02:06 AM Re: Frame problem
ChipJohns's Avatar
I don't know! Do you?

Posts: 489
Name: Chip Johns
Location: Savannah Georgia
Or better yet, Take the time to learn css. It's learning curve is just a little steep at first but then it levels off and you start getting it more and more.

CSS is where page layout is going. I have decided that from this point on I am not going to create another site using anything but tableless layouts..

In the long run you are going to save oddles of time..
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 04-02-2006, 11:57 AM Re: Frame problem
Junior Talker

Posts: 2
Thanks for the replies guys.

I have looked using CSS, but getting cross browser functionality is a nightmare, far exceeding my original problem!

All I want basically is a top, middle and a bottom frame, all centered. I want the top and bottom frames to be fixed and the middle frame to be scrollable seems with today’s plethora of browsers it’s the unobtainable grail
Remnant is offline
Reply With Quote
View Public Profile
 
Old 04-02-2006, 03:13 PM Re: Frame problem
Experienced Talker

Posts: 32
Location: Indiana, USA
If you are determined to use frames, you are going to need to allow for scrollbars in each frame to get around the left shift in FF.

Code:
<frameset rows="83,*" cols="*" framespacing="0" frameborder="NO" border="0">
  <frame src="Top.htm" name="topFrame" frameborder="no" scrolling="yes">
  <frame src="Bottom.htm" name="mainFrame" frameborder="no" scrolling="yes">
</frameset>
But everyone is right when suggesting learning to use CSS. It may have a steep learning curve, but it is the recommended way to code pages. Take the time to learn it, it will be worth your time.
__________________
They have computers, and they may have other weapons of mass destruction. - - Janet Reno
Smoking Man is offline
Reply With Quote
View Public Profile Visit Smoking Man's homepage!
 
Old 04-02-2006, 05:59 PM Re: Frame problem
gorilla's Avatar
Novice Talker

Posts: 7
Location: Hungary
Frames are outdated? I didn't know...
What is the modern thing that does the same? I can't think of any...
gorilla is offline
Reply With Quote
View Public Profile
 
Old 04-02-2006, 07:16 PM Re: Frame problem
vangogh's Avatar
Post Impressionist

Posts: 8,946
Name: Steven Bradley
Location: Boulder, Colorado
I use php to accomplish the only thing that ever made frames useful, that of having the repeated elements (like menus) on your site in separate files. The amount of php to do this is very minimal. The same cam be done in any server side scripting language.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 04-04-2006, 11:17 AM Re: Frame problem
Talktechno's Avatar
Skilled Talker

Posts: 56
i dont understand why people still use frames, they make life difficult for themselves
Talktechno is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Frame problem
 

Thread Tools

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14907 seconds with 12 queries