文章 css sample

大標題 / 小標題 / 段落 / 備註

h2 大標題


h3 小標題


h3 小標題 - 置中


h3 小標題 - 置中底線


h3 小標題 - 置中加框

p 段落1 --段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落。

p 段落2 --段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落。

p 對齊段落 段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落!


一、段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落

二、段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落

<p style="text-indent: -2em !important; padding-left: 2em !important;">一、段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落</p>
<p style="text-indent: -2em !important; padding-left: 2em !important;">二、段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落段落</p>


段落縮短

序號:1

作者:印順法師

書名:華雨集(第四冊) / 頁次:173

出版資訊:正聞出版社


(註1)註註註註註註註註註註註註註註註註註註註註註註


段落齊中

<p class= "center">段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中。</p>

<p class="palign" class= "center">段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中段落齊中。</p>


楷書字體


參考 CSS link button 設定

PDF下載

<p><a href="/檔名" class="btn btn-info">PDF下載</a></p>

PDF下載

<p class="palign"><a href="/檔名" class="btn btn-info">PDF下載</a></p>


LINE@ 按鈕 (綠底白字) LINE@客服


表格設定 (間隔tr底色,hover)(參考文章)
<style type="text/css">
p {text-indent: 2em;}
table tr,th,td {
border: 1px solid #666;
padding: 10px;
border-collapse: collapse;
}
tr:nth-child(even) {
background: #fff
}
tr:nth-child(odd) {
background-color: #FAFAFA;
}
td:hover {
background-color: #E6FBFF;
}
</style>


表格設定 橫條灰底,下載連結白色 (學報下載)
<style type="text/css">
table { width:100% ; }
tr {border: 5px solid #fff;}
table td { background-color: #f6f6f6; padding:10px; }
table td a { cellspacing:20px; padding:5px; borderSpacing:15px;background-color: #ffffff; }
</style>