Html文本未居中
本JSFIDLE中记录了该问题:Html文本未居中,html,position,center,Html,Position,Center,本JSFIDLE中记录了该问题: 稳定迭代(完成90%) 我的团队: {{userName}} 查找其他团队: #formUserListObject{ 字体大小:x-small; } #表0{ 顶部:50px; } #页面{ 显示:无; } #加载图像{ 位置:绝对位置; 最高:50%; 左:50%; z指数:1; 字体大小:20px; 颜色:红色; } .全体{ 身高:100%; 宽度:100%; 背景色:#ff6a00; } myDiv先生{ 身高:100%; 宽度:100%; 背景色
稳定迭代(完成90%)
我的团队:
{{userName}}
查找其他团队:
#formUserListObject{
字体大小:x-small;
}
#表0{
顶部:50px;
}
#页面{
显示:无;
}
#加载图像{
位置:绝对位置;
最高:50%;
左:50%;
z指数:1;
字体大小:20px;
颜色:红色;
}
.全体{
身高:100%;
宽度:100%;
背景色:#ff6a00;
}
myDiv先生{
身高:100%;
宽度:100%;
背景色:#b6ff00;
}
.formClass{
}
.listControl{
垫面:5px;
右侧填充:15px;
垫底:5px;
左侧填充:15px;
边框:2px实心#0094ff;
高度:100px;
溢出y:滚动;
}
.填充控制{
垫面:5px;
右边填充:10px;
垫底:5px;
左侧填充:10px;
}
.滑块{
垫面:5px;
右侧填充:15px;
垫底:5px;
左侧填充:15px;
背景色:#00ff90;
}
输入[type=checkbox].css复选框{
位置:绝对位置;
z指数:-1000;
左:-1000px;
溢出:隐藏;
剪辑:rect(0);
高度:1px;
宽度:1px;
填充:0;
保证金:-1px;
边界:0;
}
输入[type=checkbox].css checkbox+label.css-label{
左侧填充:20px;
高度:15px;
显示:内联块;
线高:15px;
背景重复:无重复;
背景位置:0;
字体系列:Arial;
字体大小:10px;
光标:指针;
}
输入[type=checkbox]。css复选框:选中+label.css-label{
背景位置:0-15px;
}
label.css-label{
背景图片:url
(http://csscheckbox.com/checkboxes/u/csscheckbox_845137eccd6f9ac2355055adf283a248.png);
-webkit触摸标注:无;
-webkit用户选择:无;
-khtml用户选择:无;
-moz用户选择:无;
-ms用户选择:无;
用户选择:无;
}
输入[type=checkbox].css checkbox+label.css-labelMinus{
左侧填充:20px;
高度:15px;
显示:内联块;
线高:15px;
背景重复:无重复;
背景位置:0-15px;
字体系列:Arial;
字体大小:10px;
光标:指针;
}
输入[type=checkbox]。css复选框:选中+label.css-labelMinus{
背景位置:0-15px;
}
label.css-labelMinus{
背景图片:url
(http://csscheckbox.com/checkboxes/u/csscheckbox_845137eccd6f9ac2355055adf283a248.png);
-webkit触摸标注:无;
-webkit用户选择:无;
-khtml用户选择:无;
-moz用户选择:无;
-ms用户选择:无;
用户选择:无;
}
.headerChartControl{
背景色:#9ed1f6;
光标:指针;
字体系列:Arial;
字体大小:12px;
字体大小:粗体;
宽度:100%;
}
.contentSearch{
宽度:100%;
}
.listControl{
边框:1px实心#0094ff;
高度:100px;
溢出y:滚动;
}
.searchText{
字体系列:Arial;
字体大小:10px;
}
.formSearch{
宽度:100%;
显示:内联块;
垫底:2件;
}
输入[type=“search”]{
背景:白色url
(数据:image/png;base64,ivborw0kggoaaansuhueugaaawaaaamcamaaabhq6zvaaaivbmvew/v7+/v78AAAC/v7+/v7+/v7+/v
7+/v7+/V79QUKOLAAAAC3RSTLOLYAAJEOMJHRPOCBSBTD4AAABJSURBVHJAVC1JDSAGDATB9UAF8V8HX0QCSN9KSSZI5ECLDJ18PRSFLMLQDCFUG
d6A3EgYP1xncQ+SA5QYOK9JRQT1Y0IZHU5BL2O2AW3ZQKEJAAAELFTKSUQMCC)10px 6px无重复;
高度:20px;
边框:1px实心#0094ff;
宽度:100%;
}
输入[type=“search”]{
-webkit框大小:边框框;
-moz盒大小:边框
<div style="height:700px; width:1500px;">
<div id="loading-image">Stabilizing iteration (90% done)</div>
<div id="kl" style="position:absolute;height:700px; width:1200px;float:left;border: 2px solid
#0094ff;overflow:auto">
</div>
<div style="height:100%; width:300px;float:right;border: 2px solid #0094ff;border-radius:5px">
<div style="height:100%; width:100%;">
<table style="width:100%;">
<tr>
<td colspan="4">
<div class="containerChart2">
<div class="headerChartControl">
<span>My Team(s):</span>
</div>
<div id="filterHolder1" class="listControl">
<form id="formUserListObject">
<input type="checkbox" name="userSelection" id="{{id}}"
onchange="checkBoxSelected(id,false)" class="css-checkbox"/>
<label for="{{id}}" class="css-label">
{{userName}}
</label>
</form>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="4">
<div class="containerChart2">
<div class="headerChartControl">
<span>Find Other Team(s):</span>
</div>
<div class="contentSearch">
<!-- This is the HTML element that will be used to render the KeyLines
component -->
<form id="formSearch" class="formSearch">
<input type="search" id="searchBox" />
</form>
<!--label id="headervalue2">Search Results:</label-->
<div id="filterHolder2" class="listControl"></div>
</div>
</div>
</td>
</tr>
<td colspan="4">
<div class="headerChartControl">
<input type="button" onclick="document.getElementById('loading-
image').style.display ='block'" value="Show"/>
<input type="button" onclick="document.getElementById('loading-image').style.display ='none'" value="Hide"/>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
#formUserListObject {
font-size: x-small;
}
#tab0 {
top: 50px;
}
#page {
display: none;
}
#loading-image {
position:absolute;
top: 50%;
left:50%;
z-index:1;
font-size: 20px;
color: red;
}
.overallDiv {
height: 100%;
width: 100%;
background-color: #ff6a00;
}
.myDiv {
height: 100%;
width: 100%;
background-color: #b6ff00;
}
.formClass {
}
.listControl {
padding-top: 5px;
padding-right: 15px;
padding-bottom: 5px;
padding-left: 15px;
border: 2px solid #0094ff;
height: 100px;
overflow-y: scroll;
}
.paddingControl {
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
}
.slider {
padding-top: 5px;
padding-right: 15px;
padding-bottom: 5px;
padding-left: 15px;
background-color: #00ff90;
}
input[type=checkbox].css-checkbox {
position:absolute;
z-index: -1000;
left: -1000px;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
padding: 0;
margin: -1px;
border: 0;
}
input[type=checkbox].css-checkbox + label.css-label {
padding-left: 20px;
height: 15px;
display: inline-block;
line-height: 15px;
background-repeat: no-repeat;
background-position: 0 0;
font-family: Arial;
font-size: 10px;
cursor: pointer;
}
input[type=checkbox].css-checkbox:checked + label.css-label {
background-position: 0 -15px;
}
label.css-label {
background-image: url
(http://csscheckbox.com/checkboxes/u/csscheckbox_845137eccd6f9ac2355055adf283a248.png);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
input[type=checkbox].css-checkbox + label.css-labelMinus {
padding-left: 20px;
height: 15px;
display: inline-block;
line-height: 15px;
background-repeat: no-repeat;
background-position: 0 -15px;
font-family: Arial;
font-size: 10px;
cursor: pointer;
}
input[type=checkbox].css-checkbox:checked + label.css-labelMinus {
background-position: 0 -15px;
}
label.css-labelMinus {
background-image: url
(http://csscheckbox.com/checkboxes/u/csscheckbox_845137eccd6f9ac2355055adf283a248.png);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.headerChartControl {
background-color: #9ed1f6;
cursor: pointer;
font-family: Arial;
font-size: 12px;
font-weight: bold;
width: 100%;
}
.contentSearch {
width: 100%;
}
.listControl {
border: 1px solid #0094ff;
height: 100px;
overflow-y: scroll;
}
.searchText {
font-family: Arial;
font-size: 10px;
}
.formSearch {
width: 100%;
display: inline-block;
padding-bottom: 2px;
}
input[type="search"] {
background: white url
(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAIVBMVEW/v7+/v78AAAC/v7+/v7+/v7+/v7+/v7+/v
7+/v7+/v79QUkolAAAAC3RSTlOLYAAJeoMjRhpOcbsbtd4AAABJSURBVHjaVc1JDsAgDATB9uAF8v8Hx0QcSN9KssZI5eClDj18PRsFlmlQDcfUG
d6A3EgYP1xncQ+sa5qYOk9jRQt1Y0izhU5bL2o2AW3ZQKeJAAAAAElFTkSuQmCC) 10px 6px no-repeat;
height: 20px;
border: 1px solid #0094ff;
width: 100%;
}
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: searchfield-cancel-button;
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: searchfield-decoration;
}
text-align: center;
line-height: 700px;