View Full Version : frames adjusted
thickandthin
09-18-2002, 10:19 PM
can you make frames adjust so that it fits on any resolution?
ddubs
09-19-2002, 05:00 AM
here is an ASP script to check browser resolution....look here (http://www.hotscripts.com/Detailed/10160.html), from there you could provide options for different resolutions.
also try inserting a browser check script....look here (http://www.hotscripts.com/search/?query=browser+check&category=JavaScript&bool=AND) ....
or maybe just try using percentages... so that no matter what resolution the user has set., it will take up certain percentage.
If you need any help with this let me know.
hope it helps.
ronaldb66
09-20-2002, 08:36 AM
If you're talking frames as in a frameset, you can use an * to specify column width or row hight, like:
<frameset cols="200,*">
or
<frameset rows="*,120">
The first example will create a frameset containing two frames next to eachother, the left one 200 pixels wide, the right one whatever is left.
The second example will create a frameset containing two frames, one on top of the other, with the bottom frame having a fixed height of 120 pixels, the top one again whatever is left.
Other values and combinatons apply, of course; also, any code unneccesary for these examples has been left out.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.