Currently, I am facing an issue with a two-column layout page that includes a Validation Summary (VS) control above the columns. Although the VS is centered in the container above the columns as desired, I am struggling to achieve vertical alignment for the bullet points. I have attempted various solutions, such as placing the VS inside a div
with text-align:left;
, but this causes the entire div
to shift to the side of the container. Another attempt involved setting the div
to text-align:center;
and the VS to text-align:left;
, but again, the block shifted all the way to the left. Even trying the same approach with a table did not yield successful results.
This problem is specific to Firefox, so while I haven't tested other browsers yet, the solution must work in FF.
I have included an image below showcasing the misaligned bullet points:
Below is the code snippet for my VS control, excluding any alignment adjustments (let me know if additional code is required):
<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">
Any assistance in achieving vertical alignment for those bullet points at the center of the page would be greatly appreciated.