<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-TW" xml:lang="zh-TW">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1">
<title>TableBoxy</title>
<style>
.css_fieldset { /*框架*/
padding: 10px;
border-style: solid;
border-width: 1px;
border-color: #000000;
}
.css_legend { /*框架標題*/
float: left;
background: #fff;
margin-top: -20px;
padding: 0 10px;
}
.css_tablebox { /*表格框架*/
clear: both;
overflow-x: auto;
}
.css_table { /*表格*/
border-collapse: collapse;
display: table;
}
.css_tr { /*橫列*/
padding: 3px;
display: table-row;
}
.css_th { /*標題欄位*/
padding: 5px;
border-style: solid;
border-width: 1px;
border-color: #000000;
display: table-cell;
font-weight: bold;
white-space: nowrap;
}
.css_td { /*一般欄位*/
padding: 5px;
border-style: solid;
border-width: 1px;
border-color: #000000;
display: table-cell;
white-space: nowrap;
}
.css_colspan { /*表格合併欄位*/
border-left-style: solid;
border-top-style: solid;
border-bottom-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-bottom-width: 1px;
border-color: #000000;
display: table-cell;
white-space: nowrap;
}
.css_colspan_text { /*文字欄位*/
width: 0px;
padding: 5px;
position:relative;
}
.css_colspan_blank { /*中間空欄位*/
border-top-style: solid;
border-bottom-style: solid;
border-top-width: 1px;
border-bottom-width: 1px;
display: table-cell;
}
.css_colspan_last { /*最後欄位*/
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-color: #000000;
display: table-cell;
}
</style>
</head>
<body>
<div class="css_fieldset">
<div class="css_legend">標題</div>
<div class="css_tablebox">
<div class="css_table">
<div class="css_tr">
<div class="css_th">標題</div>
<div class="css_th">日期</div>
<div class="css_th">回應</div>
</div>
<div class="css_tr">
<div class="css_td">今天晚餐吃少一點吧</div>
<div class="css_td">2015-05-05</div>
<div class="css_td">5</div>
</div>
<div class="css_tr">
<div class="css_colspan">
<div class="css_colspan_text">宵夜不吃了,早點回家睡覺比較實際。</div>
</div>
<div class="css_colspan_blank"></div>
<div class="css_colspan_last"></div>
</div>
<div class="css_tr">
<div class="css_td">今天早餐到底要吃什麼好呢?</div>
<div class="css_td">2015-05-06</div>
<div class="css_td">3</div>
</div>
<div class="css_tr">
<div class="css_td">作者</div>
<div class="css_colspan">
<div class="css_colspan_text">QQBoxy</div>
</div>
<div class="css_colspan_last"></div>
</div>
</div>
</div>
</div>
</body>
</html>
Output
This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account
Dismiss xKeyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |