Solved

Moblie developing

Posted on 2013-11-17
1
126 Views
Last Modified: 2013-11-21
I'm woking with this template.

Where does it render differently for phones and desktops? Is it in the css file?

Thanks,

I'm starting at the beginning so I can learn this.

http://getbootstrap.com/examples/starter-template/
0
Comment
Question by:burnedfaceless
1 Comment
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39656348
It is in the css http://getbootstrap.com/css/.  They have pre defined media queries that you call by giving an object a class like .col-md-6.

Below will stack two div's for a phone and create 2 columns for anything wider where the left is wider then the right side.

<div class="row">
  <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
  <div class="col-xs-12 col-md-4">.col-xs-12 .col-md-4</div>
</div>

Open in new window

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cordova AJAX Hello World 9 145
Mobile Friendly vs. Rendering Well on Mobile and Desktop 8 62
Creating users in web application 6 59
CSS Responsive Navigation 14 83
Recently, we decided that in order to stay competitive in today's IT world, we were going to have to develop and deploy a mobile app for our users and do it quickly. We felt that we were already behind the curve. Users of technology today are mov…
Read about why website design really matters in today's demanding market.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question