make my  form and its controls fit any size screen resolution

Posted on 2014-10-14
Medium Priority
Last Modified: 2014-10-16
Hi Experts
I am developing my application on screen 1024 x 768
I would like to fill the whole screen on other PC with  different resolutions.
Please help
Question by:b001
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Assisted Solution

sammySeltzer earned 1000 total points
ID: 40381190
You didn't show what you  have so far but you can do one of two things:

1, use stylesheet with fixed positioning:

<style type="text/css">

Open in new window

   <div id="entireScreen">
rest of html code

Open in new window


Use JavaScript:
<script type="text/JavaScript">

        function FillScreen()
            document.getElementById(entireScreen).style.Width= window.innerWidth +'px';
        window.onresize = FillScreen;

Open in new window

Something like these two, I think will do it
LVL 83

Accepted Solution

CodeCruiser earned 1000 total points
ID: 40382209

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question