I created my site in resolution of 1024 x 764 in wide screen but in other resolution and screen it is not fitting properly please help me how to make it fit in any resolution and screen size

Recommended Answers

All 3 Replies

how did you set the width? percentage or settled px? maybe you post the html code here or give the page url.

I am facing problem that the page is not able to fit itself properly in different screen resolution of the client.
Please help me url is
i created in 1024 x 764 in a widescreen monitor but in 4:3 monitor it look like this
[img]http://i36.tinypic.com/r0wiva.jpg[/img]

code is

<body style="background-image:url(Image/bg.jpg); width:100%" >
    <form id="form1" runat="server" style="width:100%">
    <div>
    <table style="width: 748px">
    <tr>
    <td class="style4"></td>
    <td align="center" class="style6">
    <asp:Label ID="Label4" runat="server" 
            Text="Welcome to Punjab Warehouse Location" Font-Bold="True" 
            Font-Size="Large" ForeColor="#CC3300"></asp:Label>
    </td>
    <td class="style5"></td>
    </tr>
    <tr>
    <td colspan="3" align="center">
    <asp:Image ID="Image1" runat="server" ImageUrl="~/Image/warehouse04.jpg" 
            Height="393px" Width="657px" />     
    </td>
    </tr>
    <tr>
    <td class="style4"></td>
    <td class="style6" align="center">
    <table style="width: 500px">
    <tr>
    <td class="style1" >
        <asp:Label ID="Label1" runat="server" Text="UserName" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="TextBox1" runat="server" MaxLength="50"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="*Please Enter Your UserName" ControlToValidate="TextBox1" 
                Display="Dynamic" Font-Bold="True" Font-Size="Small"></asp:RequiredFieldValidator>
        </td>
        </tr>
        <tr>
    <td class="style1">
        <asp:Label ID="Label2" runat="server" Text="Password" Font-Bold="True" ></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" MaxLength="50"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage="*Please Enter Your Password" ControlToValidate="TextBox2" 
                Display="Dynamic" Font-Bold="True" Font-Size="Small"></asp:RequiredFieldValidator>
        </td>
        </tr>       
        <tr>
        <td colspan="2" class="style2">
            <asp:Label ID="Label3" runat="server" 
                Text="*Please enter correct username and password" Visible="False" 
                Width="300px" Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"></asp:Label>
            </td>
            </tr>
            <tr>
            <td>
            <asp:Button ID="Button1" runat="server" Text="Login" onclick="Button1_Click" 
                    Font-Bold="True" />
        </td>
        </tr>
        </table>
    </td>
    <td class="style5"></td>
    </tr>
    </table>
    
</div>
    </form>
</body>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.