IT Community - Software Programming, Web Development and Technical Support

Why aren't my frames the exact size I specified?

This is a discussion on Why aren't my frames the exact size I specified? within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; Why aren't my frames the exact size I specified?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-27-2007, 03:14 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Question Why aren't my frames the exact size I specified?

Why aren't my frames the exact size I specified?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-27-2007, 03:50 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: Why aren't my frames the exact size I specified?

Older versions of Netscape Navigator seems to convert pixel-based frame dimensions to whole percentages, and to use those percentage-based dimensions when laying out the frames. Thus, frames with pixel-based dimensions will be rendered with a slightly different size than that specified in the frameset document. The rounding error will vary depending on the exact size of the browser window.
Furthermore, Navigator seems to store the percentage-based dimensions internally, rather than the original pixel-based dimensions. Thus, when a window is resized, the frames are redrawn based on the new window size and the old percentage-based dimensions.
There is no way to prevent this behavior. To accommodate it, you should design your site to adapt to variations in the frame dimensions. This is another situation where it is a good idea to accommodate variations in the browser's presentation.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory Size pranky PHP Programming 1 10-04-2008 10:53 PM
frames kesuu Web Design Help 1 03-03-2008 05:51 AM
Can I update two (or more) frames simultaneously? GDevakii HTML, CSS and Javascript Coding Techniques 1 10-26-2007 07:17 AM
Convert Video frames into Images senraj Flash Actionscript Programming 2 10-22-2007 03:09 AM
Can I update two (or more) frames simultaneously? itbarota HTML, CSS and Javascript Coding Techniques 1 09-13-2007 03:00 AM


All times are GMT -7. The time now is 12:07 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0