Question: (Closed) About shiny HTML issues
0
153348734 • 0 wrote:
Dear everyone: I have a question about the html in shiny, when the protein not found, the protein area is grey. How can I eliminate it that the boxes below can be arranged upwards. thanks!
fluidRow(
column(4, downloadButton("sequence.txt", "Download Sequence", style = "width:100%;", class = "buttDown")),
column(4,downloadButton("genesequence.txt", "Download Gene Sequence", style = "width:100%;", class = "buttDown")),
column(4,downloadButton("genesinfo.txt", "Download Gene Information", style = "width:100%;", class = "buttDown"))
),
textOutput("seq_title"),
verbatimTextOutput("seq"),
tags$head(tags$style("#seq_title{color: red;
font-size: 22px;
font-style: bold;
}"
),
tags$style("#seq{
width = 100%;
padding: 6px 12px;
white-space: pre-wrap;
height: 300px;
}")
),
textOutput("cds_title"),
verbatimTextOutput("cds"),
tags$head(tags$style("#cds_title{color: red;
font-size: 22px;
font-style: bold;
}"
),
tags$style("#cds{
width = 100%;
padding: 6px 12px;
white-space: pre-wrap;
height: 300px;
}")
),
textOutput("pro_title"),
verbatimTextOutput("pro"),
tags$head(tags$style("#pro_title{color: red;
font-size: 22px;
font-style: bold;
}"
),
tags$style("#pro{
width = 100%;
padding: 6px 12px;
white-space: pre-wrap;
height: 300px;
noshade:noshade;
}")
),
DT::dataTableOutput("geneinfo"),
textOutput("genetitle"),
verbatimTextOutput("searchgenesequence"),
tags$head(tags$style("#genetitle{color: red;
font-size: 22px;
font-style: bold;
}"
),
tags$style("#searchgenesequence{
width = 100%;
padding: 6px 12px;
white-space: pre-wrap;
height: 300px;
}")
)
Sorry, but this is just not enough information. Furthermore, I think, it is more helpful to post this question on stackoverflow.
Thank you, I have a post in stackoverflow, https://stackoverflow.com/questions/65770117/how-do-i-control-in-shiny-that-the-html-background-does-not-show-when-no-output. Thank you for reading my post.
Hello 153348734!
We believe that this post does not fit the main topic of this site.
Indeed better suited for StackExchange.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!