Question: I am trying to select elements in jQuery like this:   

`$("input[id*='FirstName']")` , but it's not working, it's not bringing the values I want from the page.

 The input is located nested deeply inside the DOM, like the child #30 from the root, and I think jQuery is not able to find it.   

Anyone faced an issue like this before??

**Update**: <http://pastebin.com/es0Z1P1a>

Answer: 
Add `position:relative;` to `.half` and then add the following CSS to your `img` selector:

```
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;

```

[Updated Fiddle](http://jsfiddle.net/f16wpgpm/5/)
=================================================
<http://jsfiddle.net/f16wpgpm/6/>

you can use `display:table` and `display:table-cell` for this.

```
section {
    display:table;
    width:100%;
}

.half {
    width: 50%;
    display:table-cell;
    vertical-align:middle;
}

```