Question: I need to make a custom code which will help me to find location of a particular IP entered through a text box. 
When I searched the internet what I found is only providing automatic detection of IP and it's location. Please help me.

Answer: 
Here you go.
<http://jsfiddle.net/GLjND/3/> (the yellow background is just so you can see the new div)

Just give the divs

```
display: table-cell

```

and you're done.
Just give the CSS property:

```
overflow : hidden
display : table-cell

```