Description Usage Arguments Value Examples
Defines the css style for a table
1 2 3 4 5 6 7 | stylecode(name, colh = "#B8B8B8", colh.text = "#111111", col = "#F0F0F0",
col.text = "#111111", border.col = "gray55", border.wt = 1,
border.style = "solid", font.size = c(18, 16), lineheight = 1.3,
hfont.wt = 200, borderh.wt = 2, borderh.col = "#CC0000",
borderh.style = "none", text.align = "left", htext.align = "left",
borderb.wt = 1, borderb.col = "#CCCCCC", borderb.style = "none",
pad = c(3, 3, 12, 3), padh = c(3, 3, 12, 3), collapse = "collapse")
|
name |
The unique id for the style to be referenced by |
colh |
The color of the header |
colh.text |
The color of the text in the header |
col |
The background color |
col.text |
The color of text |
border.col |
Border color |
border.wt |
Border weight - needs to be an integer |
border.style |
The style of border. Options
are |
font.size |
a vector of font sizes for i) header ii) cells |
lineheight |
The height of rows |
hfont.wt |
The weight of the font in the header
options are |
borderh.wt |
Border at bottom of header weight - needs to be an integer |
borderh.col |
Border at bottom of header color |
borderh.style |
The style of border at bottom of header. Options
are same as for |
text.align |
The alignment of the cell text
are |
htext.align |
The alignment of the header text
are |
borderb.wt |
Border weight at bottom of rows |
borderb.col |
Border color at bottom of rows |
borderb.style |
The style of border at the bottom of cells. Options
are same as for |
pad |
The padding around borders of cells. |
padh |
The padding around borders of header. |
collapse |
The border collapse style - can be
|
A css style
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.