You must Sign In to post a response.
  • Category: General

    How to do web page unique?

    Hi all,

    When I creating a web page ,how can I do all textbox,div, label etc in unique when resizing. That means I need to display the contents in same resolution when I change the size of the page.


    Thanks and regards,

    Ranipriya
  • #769029
    Hi Ranipriya,

    You can set the height and width of the body and html tags to 100% that will help you to resize accordingly.

    Refer below sample


    <style type="text/css">
    body, html
    {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    }
    </style>


    Hope this helps you...

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/


  • Sign In to post your comments