発表時間:2024-05-14 05:38:26
Tag | Description |
---|---|
<table> | Wrapping element for displaying data in a tabular format |
<thead> |
Container element for table header rows (<tr> ) to label table columns
|
<tbody> |
Container element for table rows (<tr> ) in the body of the table
|
<tr> |
Container element for a set of table cells (<td> or <th> ) that appears on a single row
|
<td> | Default table cell |
<th> |
Special table cell for column (or row, depending on scope and placement) labels Must be used within a <thead> |
<caption> | Description or summary of what the table holds, especially useful for screen readers |
<table> <thead> <tr> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table>
Name | Class | Description |
---|---|---|
Default | None | No styles, just columns and rows |
Basic | .table | Only horizontal lines between rows |
Bordered | .table-bordered | Rounds corners and adds outer border |
Zebra-stripe | .table-striped | Adds light gray background color to odd rows (1, 3, 5, etc) |
Condensed | .table-condensed | Cuts vertical padding in half, from 8px to 4px, within all td and th elements |
Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the .table
class is required.
<table class="table"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Get a little fancy with your tables by adding zebra-striping—just add the .table-striped
class.
Note: Striped tables use the :nth-child
CSS selector and is not available in IE7-IE8.
<table class="table table-striped"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Add borders around the entire table and rounded corners for aesthetic purposes.
<table class="table table-bordered"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
Mark | Otto | @TwBootstrap | |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Make your tables more compact by adding the .table-condensed
class to cut table cell padding in half (from 8px to 4px).
<table class="table table-condensed"> </table>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes.
<table class="table table-striped table-bordered table-condensed"> ... </table>
Full name | |||
---|---|---|---|
# | First Name | Last Name | Username |
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.
初级翻译客户正在消失吗?“人才夜市”开设党员示范岗 深入践行做“合格”党员承诺
工业设计陈根设计一本通丛书产品设计品牌企业管理市场营销生产技术
生产v970型岩棉彩钢屋面板 造价低 彩钢复合板英文翻译中“现在简单式”的使用时机 (2)
成为日语翻译的终极指南供应彩钢岩棉夹心板 彩钢岩棉复合板 彩钢岩棉保温防火复合板图片拉格内城堡干红葡萄酒
工业设计陈根设计一本通丛书产品设计品牌企业管理市场营销生产技术日本居住证翻译认证盖章
LED电源低功率因数对终端使用是否有影响?
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 欧博官网注册 | Stacked, left-aligned labels over controls |
Inline | .form-inline | Left-aligned label and inline-block controls for compact style |
Search | .form-search | Extra-rounded text input for a typical search aesthetic |
Horizontal | .form-horizontal | Float left, right-aligned labels on same line as controls |
为什么在走向世界时聘请翻译是必不可少的CIAPE 上海国际汽车商品交易会翻译口译
<form class="well">
<label>Label name</label>
<input type="text" class="span3" placeholder="Type something">
<span class="help-inline">Associated help text!</span>
<label class="checkbox">
<input type="checkbox"> Check me out
</label>
<button type="submit" class="btn">Submit</button>
</form>
Reflecting default WebKit styles, just add .form-search
for extra rounded search fields.
<form class="well form-search"> <input type="text" class="input-medium search-query"> <button type="submit" class="btn">Search</button> </form>
Inputs are block level to start. For .form-inline
and .form-horizontal
, we use inline-block.
<form class="well form-inline"> <input type="text" class="input-small" placeholder="Email"> <input type="password" class="input-small" placeholder="Password"> <label class="checkbox"> <input type="checkbox"> Remember me </label> <button type="submit" class="btn">Sign in</button> </form>
房屋租赁协议翻译认证盖章日本毕业证翻译认证盖章“洛阳造”智能化零排放新能源叉车问世
<form class="form-horizontal"> <fieldset> <legend>Legend text</legend> <div class="control-group"> <label class="control-label" for="input01">Text input</label> <div class="controls"> <input type="text" class="input-xlarge" id="input01"> <p class="help-block">Supporting help text</p> </div> </div> </fieldset> </form>
Shown on the left are all the default form controls we support. Here's the bulleted list:
减速机_第17页_产品供应_上海曙光医院发药单翻译
TED美国移民正在失去什么(视频字幕翻译)呷哺呷哺的土豆大多是围场广聚农产品销售培育种植的希森6号直销橡塑托码 橡塑管托 河北玉航厂家
上海复旦大学医学报告翻译认证盖章(出院小结,诊断书)光化学柱后衍生反应器安装简单,灵敏度高
<fieldset class="control-group error"> </fieldset>
商妥妥商城系统正式发布真空烤箱的使用规范是怎样的 ?
翻译公司在内容经济中取得成功 :来自TAUS的幻灯片投资法律转录服务的3大好处CCI Group和accessiBe宣布建立战略合作伙伴关系
TED限制肽的医学应用(视频翻译)改写生命密码,合成生物学为何能推动 第三次生物科技革命 2020盘点
重金属污染与微生物抗性相互作用及其对人和动物的影响水泥楼板 立华水泥制品 优质商家
尾矿库破损渗漏检测(尾矿库 渗漏 检测)如何为您的企业降低翻译成本【图】日本原单女装批发零售 - 中山服装/鞋帽/箱包 - 大连58同城
河畔人家130㎡装修工地图 现场施工图文直播 土巴兔装修网