Skip to content Skip to sidebar Skip to footer

Display Of Text In A New Line Below The Uioutput Display [Shiny]

uiOutput('myTable') followed by p('Here is some text....') puts the text next to uioutput display, but I like to print the text in a new line starting from left side of the page. A

Solution 1:

After using div with style float:left, you need to clear the floating, for example with clear:left:

ui <- fluidPage(
  tabPanel("Test",
           numericInput("samsize","specify sample size",4,1,52),
           uiOutput('myTable'),
           div("Here is some text...", style="clear:left;"),
           dateInput("date", label = "Today's Date")
  ))

Result using clear:left

You will find more info about floating div here


Post a Comment for "Display Of Text In A New Line Below The Uioutput Display [Shiny]"