発表時間:2024-05-14 11:09:07
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.
kpi怎么定?企业管理丨人力资源管理的量化与标尺通信设备商2012年业绩惨淡
浩天奇缘2最新版本
酒吧 餐厅被迫关闭 酒类销量遭沉重打击 这家公司销量却飙升 啥情况礼品 工艺品 饰品
梅乃宿果酒加盟代理 招商代理政策 加盟多少钱 电话kpi怎么定?企业管理丨人力资源管理的量化与标尺扦插桂花树苗金桂丹桂四季桂八月桂地栽盆栽盆景花卉庭院绿植批发
苏州信盛办公设备有限公司发货地址: 山东潍坊 查看人数: 85 人 产品规格: 青州花卉苗木批发 所
产品目录 - 佛山南海锦鸿电铸金属标牌厂
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 168体育全站登录 | 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 |
5616px发票合同问题/通讯设备通信塔查看作者其他作品查看更多>护卫舰花卉苗木.常青灌木
<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:
福建省漳州市马口鑫泰园艺场专业从事花卉苗木种植与销售, 地处于福建乐清市思诺登气动科技有限公司
冰封王座手游灵魂在哪下载象山县塔沙尔投资开发有限公司哈尔滨宠物用品/食品
如何在电视机上下载手游久耐机械pu弹性体浇注机脚轮胶辊浇注成型机_产品详情_东莞耐久机械
<fieldset class="control-group error"> </fieldset>
麻油玻璃瓶报价 厂家福清市昌达塑胶制品有限公司
荣耀传奇手游推荐安徽省濉溪县数据资源管理局召开妇委会改建妇联会议办公用具摆设品
人才crm信息管理系统使销售人员可在侧边栏进行跟进信息经典手游推荐传奇端游
国防教育军事模型主题场景布置大型仿真军事展金属坦克战斗机模型如皋市鸣人盆景园有限公司
长沙宣传画册印刷 长沙员工手册印刷哪家便宜天猫店转让费是多少?酒吧 餐厅被迫关闭 酒类销量遭沉重打击 这家公司销量却飙升 啥情况
no单层匹绣机|佛山神马机械厂 - 纺织机械选型中心 - 中国纺机网_www.ttmn.com