title: Horizontally align asp.net menu on the top
body: <pre><code> &lt;asp:Menu ID="Menu1" runat="server" DynamicHorizontalOffset="2" ForeColor="Blue"
                      StaticSubMenuIndent="10px" Style="font-size: medium; margin-left: 25px; margin-top: 0px;
                      margin-bottom: 0px; color: #333333; text-align: left;" Width="180px" BorderStyle="None"
                      SkipLinkText="" Height="358px"&gt;
                      &lt;StaticMenuStyle BorderStyle="None" /&gt;
                      &lt;StaticSelectedStyle BackColor="#5D7B9D" /&gt;
                      &lt;StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" BorderStyle="Solid"
                          BorderColor="White" BorderWidth="1px" /&gt;
                      &lt;DynamicHoverStyle BackColor="#5E2433" ForeColor="White" /&gt;
                      &lt;DynamicMenuStyle BorderColor="#666666" Width="130px" BackColor="#EFEDED" /&gt;
                      &lt;DynamicSelectedStyle BackColor="#5D7B9D" /&gt;
                      &lt;DynamicMenuItemStyle Width="130px" BorderColor="White" BorderStyle="Solid" BorderWidth="1px"
                          HorizontalPadding="5px" VerticalPadding="2px" /&gt;
                      &lt;StaticHoverStyle BackColor="#5E2433" ForeColor="White" /&gt;
                      &lt;Items&gt;
                          &lt;asp:MenuItem Text="Register New Patient" Value="Register New Patient" NavigateUrl="DoctorNewRegisteration.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Wait List" Value="Wait List" NavigateUrl="DoctorWaitList.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Appointments" Value="Appointments" 
                              NavigateUrl="DoctorAppointments.aspx"&gt;&lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem NavigateUrl="DoctorCheckup.aspx" Text="Patient Visit" Value="Patient Visit"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Add/Delete Vaccine" Value="Add/Delete Vaccine" NavigateUrl="DoctorNewVaccine.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Vaccination Schedule" Value="Vaccination Schedule" NavigateUrl="DoctorVacSchedule.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Vaccination Due List" Value="Vaccination Due List" NavigateUrl="DoctorVacDueList.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="My Profile" Value="My Profile" NavigateUrl="DoctorMyProfile.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Announcements" Value="Announcements" NavigateUrl="DoctorAnnouncements.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Reference Documents" Value="Reference Documents" NavigateUrl="DoctorUploadDoc.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Message To Patients" Value="Message To Patients" NavigateUrl="DoctorMessage.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Inactive List" Value="Inactive List" 
                              NavigateUrl="DoctorInactiveList.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem NavigateUrl="DoctorBirthList.aspx" Text="Birthday List" 
                              Value="Birthday List"&gt;&lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Change Password" Value="Change Password" NavigateUrl="DoctorChangePassword.aspx"&gt;
                          &lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem NavigateUrl="DoctorMenuPage.aspx" Text="Home" Value="Home"&gt;&lt;/asp:MenuItem&gt;
                          &lt;asp:MenuItem Text="Logout" Value="Logout"&gt;&lt;/asp:MenuItem&gt;
                      &lt;/Items&gt;
                  &lt;/asp:Menu&gt;
  </code></pre>
  
  <p>How do i align this asp.net menu horizontally on the top right now it is vertically aligned on the left side.</p>
  
  <p>Please help should i use css or change some properties of the Asp.net menu</p>