screen suddenly stretched


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

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">
            width: 138px;
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <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>
        <asp:Label ID="Label_Reviewer" runat="server" ForeColor="#666666"
            Font-Size="X-Small" Width="80px"></asp:Label>
        <asp:Label ID="Label40" runat="server" ForeColor="#CCCCCC"
        <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>
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Obadiah ChristopherCommented:
Is this markup you have created? Or this is autogenerated?

Why so many &nbsp;?
Roopesh ReddyIT AnalystCommented:

Issue with your HTML markup code!

You try to use CSS to design the page!

Moreover, never use &nbsp; for spacing!

Instead, try this code!

<span style="width:100px;display:inline-block;" ></span>

Open in new window

Hope it helps u...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.