See the red text after you run this little program. I want to right-align that portion.
I thought this would be quite simple. I've tried everything but the right answer.
library(shiny)
library(shinythemes)
ui=fluidPage(
navbarPage("hi",theme=shinytheme("cerulean"),
tabPanel("example", fluid = TRUE, icon = icon("globe-americas"),
sidebarLayout(
sidebarPanel( p(style="text-align: center; ","sidepanel text")
),
mainPanel(
fluidRow(column(width=12,
p("first box",style="font-size:125%;padding:12px;color:black; background-color:#fafafc"),
div(strong("All I want is"),
br(),
p("for the text in red",span("to be on the right side of this container",style="align-text: right; color: red"),
br(),
style="font-size:125%;padding:12px;color:black; background-color:#fafafc"),
hr(),
),
column(width=12,p("third box",style="font-size:125%;padding:12px;color:black; background-color:#fafafc"))
))
)))))
server=function(input, output,session) {}
shinyApp(ui=ui, server=server)