I have used the second approach with tags$head, and the third approach, specifically calling out the responsive=TRUE option on the fluidPage line. Neither works.
My Code:
tabPanel("Cost",
fluidPage(responsive=TRUE,
fluidRow(h3(style="text-align:center","Data Input")),
fluidRow(
column(6,
numericInput("cpch1", label = h4("Cost To Consumer per Nonconforming Characteristic"), value = 0)
),
column(6,
numericInput("cpch2", label = h4("Cost To Manufacturer per Nonconforming Characteristic"), value = 0)
)
),
fluidRow(
column(6,
numericInput("chpu", label = h4("Characteristics Per Unit"), value = 0)
),
column(6,
numericInput("upm", label = h4("Units Per Month"), value = 0)
)
),
fluidRow(h3(style="text-align:center","Cost Tables")),
fluidRow(
column(4,h4(style="text-align:center","Minimum Values"),
tableOutput("cost_table1"),
tags$head(tags$style(type="text/css",
"#cost_table1{width:100%}",
"#cost_table1 table th td {
border: 8px double black !important;
}
#cost_table1 table th {
background-color:blue;
color:white;
}
#cost_table1 table td {
text-align:center;
font-weight:bold;
font-size:large;
font-family:arial
}"))
),
column(4,h4(style="text-align:center","Nominal Values"),
tableOutput("cost_table2"),
tags$head(tags$style(type="text/css",
"#cost_table2{width:100%}",
"#cost_table2 table th td {
border: 8px double black !important;
}
#cost_table2 table th {
background-color:blue;
color:white;
}
#cost_table2 table td {
text-align:center;
font-weight:bold;
font-size:large;
font-family:arial
}"))
),
column(4,h4(style="text-align:center","Maximum Values"),
tableOutput("cost_table3"),
tags$head(tags$style(type="text/css",
"#cost_table3{width:100%}",
"#cost_table3 table th td {
border: 8px double black !important;
}
#cost_table3 table th {
background-color:blue;
color:white;
}
#cost_table3 table td {
text-align:center;
font-weight:bold;
font-size:large;
font-family:arial
}"))
)
),
A picture of the results is attached.