Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7843987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:44:11+00:00 2026-06-02T16:44:11+00:00

I have a two column layout page with a Validation Summary (VS) control above

  • 0

I have a two column layout page with a Validation Summary (VS) control above the 2 columns. The VS is centered in the container above the columns, which is what I want, but I also want the different bullet points to be vertically aligned, if possible. I have tried several things, including placing the VS inside a div (inside the container div that is center aligned) with text-align:left;, but that moves the entire div to the side of the container. I have also tried making the div text-align:center; and the VS text-align:left;, but that also moves the entire block all the way to the left. I’ve also tried the same thing with a table, but no luck.
This is in Firefox by the way. I haven’t tested in other browsers, but it needs to work in FF.
Here is pic to show the messed up vertical alignment:
enter image description here

And here is the code for my VS control, without my alignment attempts (if more code is needed, let me know):

<div id="container">
  <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
  <asp:ValidationSummary ID="VS1" runat="server" CssClass="validator" ValidationGroup="theform" />
  <div id="leftCol">

Could somebody help me vertically align those bullet points in the center of the page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:44:13+00:00Added an answer on June 2, 2026 at 4:44 pm

    Since bullet points are part of the list items I don’t think you will be able to align them. Why not try something like having a top column with 3 divs and place your validationsummary control in the middle one. Try this

    HTML Code

    <div id="container" class="container">
        <div id="top" class="top">
            <div id="topLeft" class="topLeft">
                &nbsp;
            </div>
            <div id="topMiddle" class="topMiddle">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </div>
            <div id="topRight" class="topRight">
                &nbsp;
            </div>
        </div>
        <div id="bottom" class="bottom">
            <div id="bottomLeft" class="bottomLeft">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="input value" ControlToValidate="TextBox1" Text="*"></asp:RequiredFieldValidator><br />
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Need come input for this" ControlToValidate="TextBox2" Text="*"></asp:RequiredFieldValidator><br />
                <asp:Button ID="Button1" runat="server" Text="Button" />
            </div>
            <div id="bottomRight" class="bottomRight">
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="please input text" ControlToValidate="TextBox3" Text="*"></asp:RequiredFieldValidator><br />
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Where is the text?" ControlToValidate="TextBox4" Text="*"></asp:RequiredFieldValidator><br />
                <asp:Button ID="Button2" runat="server" Text="Button" />
            </div>
        </div>
    </div>
    

    CSS

    .container
    {
        display: block;
        width:800px;
        margin:0px;
        padding:0px;
    }
    
    .top
    {
        display:inline-block;
        width:800px;
    }
    
    .bottom
    {
        display:inline-block;
    }
    
    .topMiddle
    {
        display:inline;
        background-color:Yellow;
        float:left; 
        width:300px;   
    }
    
    .topLeft
    {
        display:inline;   
        float:left;     
        width:250px; 
    }
    
    .topRight
    {
        display:inline;    
        float:left; 
        width:250px;     
    }
    
    .bottomLeft
    {
        display:inline;
        width:400px;
        float:left;
        background-color:Orange;
    }
    
    .bottomRight
    {
        display:inline;
        width:400px;
        float:left;
        background-color:Lime;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CSS two column layout which is fixed and centered. On pages
I am trying to make a HTML page using two column layout. I have
I'm attempting a centered, two-column layout and I'd like to have horizontal rules in
I want a two-column div layout, where each one can have variable width e.g.
I have a two column layout: <html> <head></head> <body> <div id=container> <div id=header></div> <div
I have a two column layout in which I have a static width for
If one uses float:left to layout two columns, does the left column have to
I have the age-old problem of a div wrapping a two-column layout. My sidebar
I have two or more tables which hold values under the same column name.
I have two tables with similar columns - let's say table A with column

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.