title: R: Shiny: How to align a gvisTable to the center in shinyapp
body: <p>looking in the shiny group on Google: </p>
  
  <p><a href="https://groups.google.com/forum/#!topic/shiny-discuss/J8C2CnFOTOM" rel="nofollow">https://groups.google.com/forum/#!topic/shiny-discuss/J8C2CnFOTOM</a></p>
  
  <p>I've found a solution, however i just know the basics of HTML and a little bit of CSS. How can i implement the solution within my code?</p>
  
  <p>I need to put the gvisTable to the center. I put the code directly to the htmlOutput function, as an argument but get an error:</p>
  
  <p>**Note: this is the only change i've done to my code. </p>
  
  <pre><code> tabPanel('Ikasa Adwords MotionChart',
                     br(),
                     htmlOutput("resumen",
                                tags$style(type="text/css",
                                           HTML("#summary&gt;div { margin: 0 auto; }")
                                )),
                     br(),
                     br(),
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>ERROR: argument is not interpretable as logical
  </code></pre>
  
  <p>Original ui.R:</p>
  
  <pre><code>library(shiny)
  library(googleVis)
  # Rely on the 'WorldPhones' dataset in the datasets
  # package (which generally comes preloaded).
  
  
  # Define the overall UI
  shinyUI(
  
    # Use a fluid Bootstrap layout
    fluidPage(    
  
      # Give the page a title
      br(),
      br(),
      br(),
      titlePanel("Ikasa Adwords"),
  
      # Generate a row with a sidebar
      br(),
      br(),
      sidebarLayout(      
  
        # Define the sidebar with one input
  
  
  
        sidebarPanel(
          dateRangeInput("dates", label = h3("Date range"),
                         start = "2015-01-01", end = "2015-02-15")
  
        ),
  
  
  
        mainPanel(
          tabsetPanel(
  
            tabPanel('Ika MotionChart',
                     br(),
                     htmlOutput("resumen",
                                tags$style(type="text/css",
                                           HTML("#summary&gt;div { margin: 0 auto; }")
                                )),
                     br(),
                     br(),
  
                     htmlOutput("motionchart")
  
          )
  
        )
      )
    )))
  </code></pre>