blob: 28d34ace912b132e75ab38ebb349b1a5e7b1403b [file] [log] [blame]
Hao Zhue10cfd32017-02-21 16:41:14 -05001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/htmlTable_styling.R
3\name{htmlTable_styling}
4\alias{htmlTable_styling}
5\title{HTML table attributes}
6\usage{
Hao Zhu26234122017-02-22 15:34:33 -05007htmlTable_styling(kable_input, bootstrap_options = "basic", full_width = T,
8 float = c("center", "left", "right"), font_size = NULL)
Hao Zhue10cfd32017-02-21 16:41:14 -05009}
10\arguments{
Hao Zhu94956582017-02-21 18:18:29 -050011\item{bootstrap_options}{A character vector for bootstrap table options. For
12detailed information, please check the package vignette or visit the
Hao Zhu59f5fe02017-02-22 11:27:14 -050013w3schools' \href{https://www.w3schools.com/bootstrap/bootstrap_tables.asp}{Bootstrap Page}
Hao Zhu26234122017-02-22 15:34:33 -050014. Possible options include "basic", "striped", "bordered", "hover",
Hao Zhu94956582017-02-21 18:18:29 -050015"condensed" and "responsive".}
Hao Zhue10cfd32017-02-21 16:41:14 -050016
Hao Zhu26234122017-02-22 15:34:33 -050017\item{full_width}{A `TRUE` or `FALSE` variable controlling whether the HTML
Hao Zhu94956582017-02-21 18:18:29 -050018table should have 100\% width.}
19
20\item{float}{A character string determining whether and how the HTML table
Hao Zhu26234122017-02-22 15:34:33 -050021should float on the page. Values could be "left", "center", "right"}
Hao Zhu94956582017-02-21 18:18:29 -050022
23\item{font_size}{A numeric input for table font size}
Hao Zhue10cfd32017-02-21 16:41:14 -050024}
25\description{
Hao Zhu26234122017-02-22 15:34:33 -050026This function provides a cleaner approach to modify the style
27of HTML tables other than using the `table.attr` option in `knitr::kable()`.
28Currenly, it assumes the HTML document has boot
Hao Zhue10cfd32017-02-21 16:41:14 -050029}