Solved

How to set frames for 640x480 screen resolution

Posted on 2004-03-24
9
223 Views
Last Modified: 2010-04-09
My frames work fine if screen resolution in Windows is 1024x768. If I change screen resolution for 640x480, my pages in the frames show as they would be cut. They don't show completly and I set the frames with percentages. What am I missing, please?

<frameset border="0" frameSpacing="0" borderColor="#336699" rows="12%,88%" frameBorder="0">
      <frame name="arriba" scrolling="no" src="banner.html">
      <frameset border="0" frameSpacing="borderColor=#336699" frameBorder="NO" cols="16%,84%">
            <frame name="izquierda" src="menu.htm" noResize scrolling="no">
            <frame name="derecha" src="HTMLPage1.htm">
      </frameset>
      <noframes>
      </noframes>
      <noframes>
0
Comment
Question by:modemonkey
  • 2
  • 2
  • 2
  • +1
9 Comments
 
LVL 6

Expert Comment

by:Reapz
Comment Utility
You need to set the height of the top frame (rows) and the width of the left frame (cols) with pixels so they will remain a fixed size regardless of your screen resolution.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
The rows and cols attributes set the size of the frame, no the size of content page.  If teh content is too large you need to work on the page layout to make them flexible with percentages.  However if you need teh oversized page content, then you need to allow the frames to scroll by getting rid of the scrolling="no"  so that it defaults to auto and give youbars when you need them.

Cd&
0
 
LVL 1

Expert Comment

by:essage
Comment Utility
Try putting these into a fixed table as such:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600" id="AutoNumber1" height="121">
    <tr>
      <td width="100%" height="400">

<frameset border="0" frameSpacing="0" borderColor="#336699" rows="12%,88%" frameBorder="0">
     <frame name="arriba" scrolling="no" src="banner.html">
     <frameset border="0" frameSpacing="borderColor=#336699" frameBorder="NO" cols="16%,84%">
          <frame name="izquierda" src="menu.htm" noResize scrolling="no">
          <frame name="derecha" src="HTMLPage1.htm">
     </frameset>
     <noframes>
     </noframes>
     <noframes>
</td>
</tr>
</table>
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 19

Expert Comment

by:webwoman
Comment Utility
That's TOTALLY wrong - you do NOT put framesets inside tables.

Again (to repeat Cd&) if your content is large, it won't fit in the frameset. If you don't have scrollbars, NOBODY will be able to see your content.

Either allow the scrollbars or redesign the content.
0
 
LVL 6

Accepted Solution

by:
Reapz earned 80 total points
Comment Utility
As I said... If you set the sizes of the frames using percentages then the actual (pixel) size will vary as you change resolution. For example... Setting the left frame to 10% in a resolution of 1024x768 will mean that the left frame is 102 pixels wide but in 640x480 it will only be 64 pixels wide.

You need to set the frame sizes in pixels not percentages. For example... If you set the left frame like this...

<frameset border="0" frameSpacing="borderColor=#336699" frameBorder="NO" cols="150">

Then it will always be 150 pixels wide regardless of the resolution.
0
 
LVL 1

Expert Comment

by:essage
Comment Utility
webwoman, I have done this with success many times. just giving a possible solution.   Reapz is right, the positions need to be pixal size, not percentage.
0
 
LVL 19

Expert Comment

by:webwoman
Comment Utility
No way. It's TOTALLY wrong. Frames have absolutely NOTHING to do with tables. IE might let it slide, but nothing else will. Not only that, you don't close the framesets, and don't use the noframes tags correctly.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now