Align logo exactly in the center

background-repeat: repeat-x;

padding-top: 2px;
padding-right: 0px;

width: 156px; 
height: 42px;

<!-- header.ascx -->
<div id="header_bar">
<div align="center">
    <a href="<%=AppPath%>" target="_parent" >
        <img id="imgLogo" runat="server" src="~/images/UI/logo.jpg"   border="0" /></a>
       <asp:DropDownList ID="ddlLanguage"  class="langpnl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
        <asp:ListItem Value="">EN</asp:ListItem>
        <asp:ListItem Value="es-ES">ES</asp:ListItem>
 <!-- /header.ascx -->

I am trying to align image in the center and dropdown box to the right top corner. Currently I am able to do it but the Image is slighty to the left. If I remove the dropdown box only then it gets in the center. In the system browsers you cannot figure it out but this is a mobile website & in mobile view you can figure out the difference.


Here's one way to achieve what you're looking for:

Need Your Help

Get id using query

php jquery html

I'm creating an eCommerce website, I'm trying to add option, where the buyer select a item size through a drop-down list, then it pass variables to jquery then jquery pass it to php, and if the item

How come WPF ComboBox ItemsSource Binding doesn't update when set?

wpf xaml properties dependencies

I have the following inside a user control called UserInputOutput: