Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to set a dynamic resolution for our website when i open our website in mobile or tabs or PC then open properly please help me ...............................
thanks..........
Posted

We call this as "Responsive layout/behaviour" as it is adjustable to device screen size. This can be achieved in numerous ways. The most significant options are Bootstrap and Foundation.

Here are the getting started links for Bootstrap
http://getbootstrap.com/getting-started/[^]

and Foundation
http://foundation.zurb.com/docs/[^]

This will help you get start with basic and templates to customize
 
Share this answer
 
Hello

Eventhough as specified in the Solution 1 , bootstrap and foundation are the best mechanisms, you can also try using a media query. This you can quickly implement.

For Ex:

CSS
@media screen and (max-width: 300px) {
    body {
        background-color: lightblue;
    }
}


That means you can specify the css class/ styles based on your screen resolutions. Just search in google 'writing media query'.

For Ex:

http://www.w3schools.com/cssref/css3_pr_mediaquery.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900