Skip to content

Supported styles

清沐 edited this page Aug 22, 2020 · 2 revisions

width

CSS Value Example
width such as 15px style="width: 15px"

height

CSS Value Example
height such as 15px, special attention A kind of If the template is used, the style can only be placed on tr style="height: 15px"

background

CSS Value Example
background-color Hex: ffffff, RGB: rgb (0255255), common background color name: green, Hex is recommended style="background-color:#ABFF00"

border

CSS Value Example
border-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-style:thin"
border-top-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-right-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-bottom-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-left-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"

font

CSS Value Example
color green style="color:green;"
font-size value: 14px (only the value will be intercepted, and the non value part will be deleted) style="font-size:14px"
font-family Times New Roman(alternative fonts are not supported) style="font-family:Times New Roman"
font-style italic style="font-style:italic"
font-weight bold style="font-weight:bold"
text-decoration line-through、underline style="text-decoration: underline"

align

CSS Value Example
text-align general,left,center,right,fill,justify,center_selection,distributed style="text-align:center"
vertical-align top,center,bottom,justify,distributed style="vertical-align:center"

visibility

CSS Value Example
visibility Hidden: hidden, currently only set to take effect on tr < tr style="visibility: hidden" >

word-break

CSS Value Example
word-break < tr style="word-break: break-all" >、< td style="word-break: break-all" >
Clone this wiki locally