Lining up title

I'm placing this on the top of the page but it won't line up horizontally.
 
 <div class="container">
        <div class="row"><h3>Application Name</h3>
            <div class="col-10-md"><h3>
                    <asp:TextBox ID="txtAppName" runat="server" CssClass="text-center" Width="220px"></asp:TextBox></h3>

            </div>
        </div>

Open in new window

zachvaldezAsked:
Who is Participating?
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.

David S.Commented:
The first <h3> needs a class applied to it directly or via a <div> wrapper.

Is there a particular reason why you are using two <h3>s anyway? It looks like the first should be a <label> and the second is unnecessary.
0
zachvaldezAuthor Commented:
Will you please show the code for that? Thanks
0
David S.Commented:
Sure.
  <div class="container">
      <div class="row">
          <div class="col-2-md">
              <label for="<%= txtAppName.ClientID %>">Application Name</label>
          </div>
          <div class="col-10-md">
                <asp:TextBox ID="txtAppName" runat="server" CssClass="text-center" Width="220px"></asp:TextBox>
          </div>
      </div>
</div>

Open in new window

https://stackoverflow.com/questions/18135460/how-do-i-use-label-for-in-asp-net
0

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
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
CSS

From novice to tech pro — start learning today.