I can get the text to center but not the bullets.
I tried surrounding with divs and tables but no matter what the bullets won't go to the center.
I have this at this point where I added the style to align the text to the left with the bullets and then tried to center the whole block but it stays on the left.
I also have the class ValidtorSummary:
.ValidatorSummary
{
position: relative;
top: -15px;
font-size: 12px;
font-weight: bold;
background-color: inherit;
color: Red;
}
What am I missing?
Thanks,
Tom
I tried surrounding with divs and tables but no matter what the bullets won't go to the center.
I have this at this point where I added the style to align the text to the left with the bullets and then tried to center the whole block but it stays on the left.
Code:
<div style="width: 100%">
<table style="width: 100%">
<tr>
<td style="text-align: center">
<asp:ValidationSummary ID="valSummary" runat="server"
CssClass="ValidatorSummary" Style="text-align: left" />
</td>
</tr>
</table>
</div>
I also have the class ValidtorSummary:
.ValidatorSummary
{
position: relative;
top: -15px;
font-size: 12px;
font-weight: bold;
background-color: inherit;
color: Red;
}
What am I missing?
Thanks,
Tom