English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want my page to auto re size so people useing different size setting have no problem viewing etc.

2006-08-11 01:30:50 · 4 answers · asked by Petzl 1 in Computers & Internet Programming & Design

4 answers

when setting the height and width for the page. don't use fixed size i.e heigth="800" width="600", use % instead i.e height="100%" width="100%"

2006-08-11 01:57:28 · answer #1 · answered by fang 4 · 0 0

You need to first figure out if your site uses tables or divs for layout.

Tables can be either a fixed width or elastic - elastic uses percentages (%) ...

Divs can do the same (CSS) but it's more complicated. The outmost Div needs to have the side margins the same instead of a stated width.

Questions? Comments? E-mail me at amandakerik at yahoo dot com.

2006-08-11 05:41:46 · answer #2 · answered by AmandaKerik 5 · 0 0

That depend on your layout.

Try using CSS, (it's the norm actually). You'll find loads of tutorial s on how to do liquid layouts in css.

2006-08-11 01:36:37 · answer #3 · answered by Dragosh 3 · 0 0

you can use javascript...

First you may need to read screen height and width, then you can fit into self.resizeTo(800,600) option, on each page.

800 and 600 is ex to place your dynamic resize width, height code.


Or



2006-08-11 02:40:07 · answer #4 · answered by Buzzy Buddy 3 · 0 0

fedest.com, questions and answers