- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我附上了我的问题截图。 (“泰米尔语”的意思是“专栏”)。问题是,列重叠。
我使用了 Bootstrap 选项卡,语言对齐是唯一的问题。
@font-face{
font-family: 'mytamil';
src: url('fonts/latha.ttf');
font-weight: normal;
font-style: normal;
}
.jumbotron {
background-image: url("images/homepage.jpg");
background-size: cover;
padding-top: 0;
}
.wrap > * {
display: inline-block;
vertical-align: middle;
}
marquee{
color: red;
}
#navbar > ul > li > a {
font-family: Georgia, serif;
font-size: 15px;
font-weight: bold;
}
.navbar-nav li a {
line-height: 50px;
}
.navbar select{
margin-top: 28px;
width: 90px;
}
.navbar {
background-color: transparent;
background: transparent;
border-color: transparent;
margin-top: 15px;
}
.tabbable > .responsive > ul > li > a{
text-transform: uppercase;
}
div.responsive ul{
background-color: whitesmoke;
}
.tabbable > .responsive, div.tab-content{
background-color: white;
}
.checkbox {
padding-left: 45px;
}
<style>
/* a few styles for the default page to make it presentable */
body {
margin-top: 20px;
}
.tabbable {
margin-bottom: 18px;
}
.tab-content {
padding: 15px;
border-bottom: 1px solid #ddd;
}
/* tab styles for small screen */
@media (max-width: 767px) {
body {
padding: 0;
}
.tabbable.responsive .nav-tabs {
font-size: 16px;
}
.tabbable.responsive .nav-tabs ul {
margin: 0;
}
.tabbable.responsive .nav-tabs li {
/* box-sizing seems like the cleanest way to make sure width includes padding */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
width: 100%;
height: 44px;
line-height: 44px;
padding: 0 15px;
border: 1px solid #ddd;
overflow: hidden;
}
.tabbable.responsive .nav-tabs > li > a {
border-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
/* include hover and active styling for links to override bootstrap defaults */
.tabbable.responsive .nav-tabs > li > a:hover {
border-style: none;
background-color: transparent;}
.tabbable.responsive .nav-tabs > li > a:active,
.tabbable.responsive .nav-tabs > .active > a,
.tabbable.responsive .nav-tabs > .active > a:hover {
border-style: none;
}
}
/* sample styles for the tab controls on small screens - start with left control and override for right */
.tabbable.responsive .nav-tabs > li > a.tab-control,
.tabbable.responsive .nav-tabs > li > span.tab-control-spacer {
float: left;
width: 36px;
height: 36px;
margin-top: 4px;
font-size: 56px;
font-weight: 100;
line-height: 26px;
color: #fff;
text-align: center;
background: #444;
-webkit-border-radius: 18px;
-moz-border-radius: 18px;
border-radius: 18px;
}
.tabbable.responsive .nav-tabs > li > a.tab-control.right,
.tabbable.responsive .nav-tabs > li > span.tab-control-spacer.right {
float: right;
}
.tabbable.responsive .nav-tabs > li > a.tab-control:hover {
color: #fff;
background: #444;
}
.tabbable.responsive .nav-tabs > li > span.tab-control-spacer {
line-height: 28px;
color: transparent;
background: transparent;
}
<div class="container">
<div class="tabbable responsive">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">வாடகை/குத்தகை வீடு</a></li>
<li><a href="#tab2" data-toggle="tab">வீடு வாங்குதல் / விற்பனை</a></li>
<li><a href="#tab3" data-toggle="tab">மனையிடம் வாங்குதல் / விற்பனை</a></li>
<li><a href="#tab4" data-toggle="tab">வணிகரீதியான வாடகை</a></li>
<li><a href="#tab5" data-toggle="tab">வணிகரீதியான வாங்குதல் / விற்பனை</a></li>
<li><a href="#tab6" data-toggle="tab">விளம்பரம்</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane fade in active" id="tab1">
<div class="row">
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c1" name="check" type="checkbox">
<label for="c1">
அடுக்குமாடிக் குடியிருப்பு
</label>
</div>
</div>
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c2" name="check" type="checkbox">
<label for="c2">
மாளிகை
</label>
</div>
</div>
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c3" name="check" type="checkbox" >
<label for="c3">
வளாகம்
</label>
</div>
</div>
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c4" name="check" type="checkbox">
<label for="c4">
தனி
</label>
</div>
</div>
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c5" name="check" type="checkbox">
<label for="c5">
பண்ணை
</label>
</div>
</div>
<div class="col-lg-3">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c6" name="check" type="checkbox">
<label for="c6">
வில்லா
</label>
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="tab2">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c1" name="check" type="checkbox">
<label for="c1">
Apartment
</label>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c2" name="check" type="checkbox">
<label for="c2">
Bungalow
</label>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c3" name="check" type="checkbox" >
<label for="c3">
Compound
</label>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c4" name="check" type="checkbox">
<label for="c4">
Independent
</label>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c5" name="check" type="checkbox">
<label for="c5">
Form
</label>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="checkbox checkbox-info checkbox-circle">
<input id="c6" name="check" type="checkbox">
<label for="c6">
Villa
</label>
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="tab3">
</div>
<div class="tab-pane fade in" id="tab4">
</div>
<div class="tab-pane fade in" id="tab5">
</div>
</div> <!-- /tab-content -->
</div> <!-- /tabbable -->
</div>
</div>
</style>
如何解决宽度问题以及如何修复特定标签内容?
最佳答案
您可能想在文本上使用 CSS 属性:
label{
word-break: break-all;
word-wrap: break-word;
}
它们应该有助于使文本适应列宽。查看更多信息:https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
关于html - 如何在 bootstrap col-lg-3 上固定宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42809976/
假设您有一台特殊的高性能计算机。在这台电脑里,有一个专门的 k 个优化寄存器组,其中 k > 2。这些寄存器中的每一个都可以用来存储一个键值对,因此这组寄存器最多可以存储 k 个键值对。该寄存器组可以
遇到一些复杂的愚蠢问题。 我有一个运行 O(lg(n)) 时间的循环。我在里面还有另一个循环也是 O(lg(n)) 所以整个复杂度是 O(lg(n)) * O(lg(n)) 或者O(lg(n)2)。我
我正在为各种智能电视平台开发应用程序,客户询问 LG Pro:Centric 设备。有没有人可以帮助我在 Pro:Centric 平台上启动该应用程序。请引用正确的指导或真实链接。 欢迎提出建议。 最
递归关系 T(n) = 2T(n/2) + n lg lg n (其中 lg 是以 2 为底的对数)可以使用 master theorem 求解但我不太确定答案。我找到了我的答案,但为了防止信息级联,
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎与 help center 中定义的范围内的编程无关。 . 关闭 4 年前。 Improve
我确实理解它代表的术语,小的、中的、大的和大于大的。我已通读 https://github.com/angular/flex-layout/wiki/Responsive-API和 https://g
我现在正在阅读 Twitter Bootstrap 3 上的文档,并尝试按照 this page 中所示的列顺序进行排序但撞墙了。我不明白为什么这样的代码有效,也不明白如何正确指定设置。我要展示的是一
如果类中没有指定col-lg和col-md,那么col-sm是否适用于所有大屏? 最佳答案 是的。 来自 bootstrap , Grid classes apply to devices with
我正在为 LG 智能电视制作应用,需要控制音量。 APP的主要目的是让iPad或手机能够远程控制。Media Player Plugin 没有控制音量的方法。声音插件只有方法 sound.play()
我目前正在阅读有关算法分析的文章,我读到某种算法(带路径压缩的加权快速联合)的阶数为 N + M lg * N。显然这是线性的,因为 lg * N 是一个常数宇宙。这里指的是什么数学运算。我不熟悉符号
在 Primeflex 文档中,变量 $lg(笔记本显示器等屏幕的断点)的默认值为 992px。我该如何改变它?例如,我想设置默认值 1100px。请帮忙 🙂 我正在使用 Primeflex 3.0
我通过 Davinci Resolve 编辑了一部家庭电影,并且输出已被渲染/保存在我的 PC 上。出于某种奇怪的原因,它看起来很大,没有任何东西可以播放(除了 Resolve 本身),我的任何转换软
我基于Google的Lunar Lander示例(使用Android Canvas进行2D绘图)编写了一个Android游戏。自2009年以来,该游戏在所有Android设备上均可正常运行,但用户最近
我正在尝试在 LG IDE 上调试电视应用程序。为了连接真实的电视,我需要创建一个“目标”,即具有 IP 地址的真实电视。这应该通过 IDE 上的“目标配置”来完成,但我找不到这个面板。有人知道我怎样
以下短语中的“lg”是什么意思? “...我们在引用 Mt 时忽略 x 的最低有效 lg t 位[x]。” (Knuth,2005 年,第 4-5 页)。 从上下文来看,“lg t”似乎表示“t -1
我正在尝试在 LG IDE 上调试电视应用程序。为了连接真实的电视,我需要创建一个“目标”,即具有 IP 地址的真实电视。这应该通过 IDE 上的“目标配置”来完成,但我找不到这个面板。有人知道我怎样
我使用以下代码在前台启动服务时显示通知。 PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new In
我有一张卡片使用尺寸 3 的 col-lg。但我想要 1920x1080 和 1366x768 显示器的不同行为。但两者仍然是 col-lg。 例如: col-1g-2920x1080 = col-I
我有一个容器,其中有col-lg-2 col-md-2和col-md-8 col-lg-8。我的col-lg-8自动获取col-lg-3(与屏幕无关),当我检查该元素时显示的是@media(min-w
我正在阅读 CLRS,它说堆排序是 HEAPSORT(A): BUILD-MAX-HEAP(A); for (i = A.length; i >= 1; i++) { exchange A[1
我是一名优秀的程序员,十分优秀!