Question: I get some spaces on tag a

```
<div id="language">
    <a href="#"><img src="http://s23.postimg.org/xbv9ppqhj/language1.png" border="0" /></a>
    <a href="#"><img src="http://s23.postimg.org/q9xc3imvr/language2.png" border="0" /></a>
    <a href="#">lol</a>
</div>

#language a
{
    padding: 0 2px;
    height:21px;
}
#language a img
{   
    line-height:0;
}

```

<http://jsfiddle.net/yokosatan/zcw7u/>

How I get the space out of?

Edit: found the similar question and try adding

```
vertical-align:middle;

```

It's work but how the space come? I try line-height and it not work

Latest update

<http://jsfiddle.net/yokosatan/zcw7u/1/>

Answer: 
`19/7/2013` cannot be parsed using `MM/dd/yyyy` format as `19` is not a valid month.  

You may want to use `dd/MM/yyyy` instead.
Date time format on local and Sever is different many times when you want to show date format in lables or texboxs and Add update in database . After a long fatigue I got this solution:
First check the current date format like below:

```
lblMsg.Text = CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern;  
if (lblMsg.Text == "dd/MM/yyyy")  
  txtd.Text = DateTime.Parse(dr["EventDate"].ToString()).ToString("dd/MM/yyyy");  
else  
  txtd.Text = DateTime.Parse(dr["EventDate"].ToString()).ToString("MM/dd/yyyy");

```

Add or Update: Similarly you can check either the current date format is dd/MM/yyyy OR "MM/dd/yyyy"

```
if (lblMsg.Text == "dd/MM/yyyy")
 usinfo.BDate = DateTime.ParseExact(txtDOB.Text.ToString(), "dd/MM/yyyy", CultureInfo.InvariantCulture);
else
usinfo.BDate = DateTime.ParseExact(txtDOB.Text.ToString(), "MM/dd/yyyy", CultureInfo.InvariantCulture);

lblMsg.Text = "";

```