You should research about
Responsive Design.
Read the answer-
Re: Responsive Web Design examples[
^], which will kick start you towards this new design methodology to make applications responsive for any type of device or system.
You can also find many useful articles on Google to start with. So, go on and do it.
Keep coding. :)