HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Frame auto fit size help
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
MoneyTime



Joined: 04 Aug 2009
Posts: 1

Posted: Tue Aug 04, 2009 3:30 pm     Frame auto fit size help  

Here is what I have

<FRAMESET ROWS="15%,*,15%">
<FRAME SRC="x.php" NAME=Header SCROLLING=NO>

<FRAMESET COLS="*,30%">
<FRAME SRC="x2.php" NAME=Main SCROLLING=NO>
<FRAME SRC="x3.php" NAME=Main2 SCROLLING=NO>
</FRAMESET>

<FRAMESET COLS="*,30%">
<FRAME SRC="x4.php" NAME=Content SCROLLING=NO>
<FRAME SRC="x5.php" NAME=Content2 SCROLLING=NO>
</FRAMESET>
</FRAMESET>

Goal: To replace the %'s and *s to autofit the page being loaded, so instead of having fixed percents, have them autofit based on content.
Any help would be much appreciated.
Goal <FRAMESET COLS="*,*"> but autofit not 50/50
kanenas



Joined: 14 Dec 2004
Posts: 310

Posted: Sun Aug 09, 2009 11:16 am      

Take a look at the HTML standard. Content isn't taken into account when sizing frames. You could use JS, but make sure your implementation degrades when JS is disabled or not supported. Also make sure that your design is accessible (works on e.g. mobile devices and screen readers).
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> HTML Frame
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group