It depends if you are bothered with screen width only, or if you want height as well. If just width you can achieve this using tables or css. Just make sure you use % in your attribute values. If you do that the browser will take care of the rest.
If you want to have a whole page appear on a screen with no scrolling it is a bit more difficult, because the content on your page effects the height of the page. You can use JavaScript, but it is quite intense! It will only work on pages with minimal content.
You have to use JavaScript to get the screen dimensions from the browser, then use these to dynamically create the layer sizes. Took me ages to figure out!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.