Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导网格格式-不同的设备_Html_Css_Node.js_Twitter Bootstrap - Fatal编程技术网

Html 引导网格格式-不同的设备

Html 引导网格格式-不同的设备,html,css,node.js,twitter-bootstrap,Html,Css,Node.js,Twitter Bootstrap,我不是最好的html/css编码员,我有这个html,它在桌面上工作很好,但在手机上看起来很差 <div class="col-md-6"> <div class="col-md-9"> <div class="row"><strong>Estimated # of Monthly XXXXXXXXs:</strong></div> <div class="row"><strong>

我不是最好的html/css编码员,我有这个html,它在桌面上工作很好,但在手机上看起来很差

<div class="col-md-6">
  <div class="col-md-9">
    <div class="row"><strong>Estimated # of Monthly XXXXXXXXs:</strong></div>
    <div class="row"><strong>Estimated Monthly Revenue Increase!!:</strong></div>
    <div class="row"><strong>Estimated Monthly XXXXXXXXXs Costs:</strong>  </div>
    <div class="row"><strong>Using XXXXXXXXX gives you:</strong></div>
    <div class="row"></div>
    <div id="qrow"></div>
  </div>
  <div class="col-md-3"><strong>
    <div id="howl">0</div></strong>
    <div class="row"></div><strong>
    <div id="howt">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howa">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howri">$0.00</div></strong>
    <div class="row"></div>
    <div id="qint"></div>
  </div>
</div>
但在手机上,它显示为:

Estimated # of Monthly 
Leads:         
Estimated Monthly Revenue
Increase:   
Estimated Monthly XXXXXXXX
Costs:     
Using XXXXXXXXX gives you:            
0
$0.00
$0.00
$0.00

我可以只使用一个网格,但我喜欢两列对齐。那么如何在手机上保持相同的桌面格式呢?

如果您使用的是bootstrap 3,那么请使用
col-xs-3
在手机中以您想要的方式对齐。请按照下面的代码

<div class="col-xs-6 col-md-6">
  <div class="col-xs-9 col-md-9">
    <div class="row"><strong>Estimated # of Monthly XXXXXXXXs:</strong></div>
    <div class="row"><strong>Estimated Monthly Revenue Increase!!:</strong></div>
    <div class="row"><strong>Estimated Monthly XXXXXXXXXs Costs:</strong>  </div>
    <div class="row"><strong>Using ActiveLEAD gives you:</strong></div>
    <div class="row"></div>
    <div id="qrow"></div>
  </div>
  <div class="col-xs-3 col-md-3"><strong>
    <div id="howl">0</div></strong>
    <div class="row"></div><strong>
    <div id="howt">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howa">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howri">$0.00</div></strong>
    <div class="row"></div>
    <div id="qint"></div>
  </div>
</div>

每月XXXXXXXX S的估计值:
预计每月收入增长!!:
预计每月XXXXXXXX的成本:
使用ActiveLEAD会给您带来:

0

$0.00

$0.00

$0.00

如果您使用的是bootstrap 3,请使用
col-xs-3
以您想要的方式在手机中对齐。请按照下面的代码

<div class="col-xs-6 col-md-6">
  <div class="col-xs-9 col-md-9">
    <div class="row"><strong>Estimated # of Monthly XXXXXXXXs:</strong></div>
    <div class="row"><strong>Estimated Monthly Revenue Increase!!:</strong></div>
    <div class="row"><strong>Estimated Monthly XXXXXXXXXs Costs:</strong>  </div>
    <div class="row"><strong>Using ActiveLEAD gives you:</strong></div>
    <div class="row"></div>
    <div id="qrow"></div>
  </div>
  <div class="col-xs-3 col-md-3"><strong>
    <div id="howl">0</div></strong>
    <div class="row"></div><strong>
    <div id="howt">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howa">$0.00</div></strong>
    <div class="row"></div><strong>
    <div id="howri">$0.00</div></strong>
    <div class="row"></div>
    <div id="qint"></div>
  </div>
</div>

每月XXXXXXXX S的估计值:
预计每月收入增长!!:
预计每月XXXXXXXX的成本:
使用ActiveLEAD会给您带来:

0

$0.00

$0.00

$0.00
使用此


每月XXXXXXXX S的估计值:
预计每月收入增长!!:
预计每月XXXXXXXX的成本:
使用ActiveLEAD会给您带来:

0

$0.00

$0.00

$0.00
使用此


每月XXXXXXXX S的估计值:
预计每月收入增长!!:
预计每月XXXXXXXX的成本:
使用ActiveLEAD会给您带来:

0

$0.00

$0.00

$0.00

您的问题是什么?已编辑。我需要手机格式与桌面相同。请添加您试图在上面显示的HTML输出。您可以添加
col-xs-n
class,您必须调整字体大小以获得准确的布局,如下所示desktop@Anuresh. 非常感谢。我们说话的时候我在玩这个。你的问题是什么?编辑。我需要手机格式与桌面相同。请添加您试图在上面显示的HTML输出。您可以添加
col-xs-n
class,您必须调整字体大小以获得准确的布局,如下所示desktop@Anuresh. 非常感谢。我们说话的时候我在玩弄这个。