Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net screen suddenly stretched

Hi

I opened my ASP.net project to find that the controls have stretched. In the image controls that were next to each other are very far apart.

User generated image
Here's some of the markup

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Admin.aspx.vb" Inherits="Survey.Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 138px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:Label ID="Label39" runat="server" Width="297px"></asp:Label>
        <asp:Label ID="Label_LoggedIn" runat="server" ForeColor="#666666"
            Text="Not logged in" Font-Size="X-Small" Width="80px"></asp:Label>
    &nbsp;&nbsp;
        <asp:Label ID="Label_Reviewer" runat="server" ForeColor="#666666"
            Font-Size="X-Small" Width="80px"></asp:Label>
    </p>
    <p>
        <asp:Label ID="Label40" runat="server" ForeColor="#CCCCCC"
            Width="24px"></asp:Label>
        <asp:Label ID="Label_Survey" runat="server" Width="474px" ForeColor="#CCCCCC"></asp:Label>
        <asp:Label ID="lblAdminID" runat="server" ForeColor="#003366" Text="Admin ID"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label30" runat="server" ForeColor="#003366" Text="Password"></asp:Label>
    </p>
    <p>
        &nbsp;</p>
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

Is this markup you have created? Or this is autogenerated?

Why so many &nbsp;?
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much