align website in different resolution

I have downloaded a Magento source and install the sample Madison Island. To my surprising,  the website can be fit into different resolution. On a small device, the menu and my layout can be fit into a way that can display properly on a iPad. Any idea how can it make this ?

Tks
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hulseboschSystem administratorCommented:
Most common is the use of CSS.
0
GaryCommented:
Look at a responsive framework like Bootstrap and have a read of my article

Otherwise you will need to write up all your own media queries to change the layout at the various resolutions.
0
AXISHKAuthor Commented:
Is there a good resource for using Bootstrap for a starter ?

One more question, how about resize a photo into different size ? Tks
0
GaryCommented:
When using a responsive framework you very rarely use specific sizes for elements, instead using 100% width and auto height.
Good resource as a starter is in the comment above
0
Ray PaseurCommented:
Here is a responsive layout including an image that takes on a dynamic size depending on the browser viewport.  Use "view source" to see how it works.  Once you see how this works, go for Bootstrap and test it out!
http://iconoun.com/demo/grumpycat.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.