Hi Guys,
When I look at CSS files I often see the has #.
I know the . defines the class but how could I match all the css # to ODS styles ?
in other words, how can I get my sashelp.class row (TR) to take on the style # table tr
.table {
background-color: #dddddd;
border-spacing: 0;
border: 1px yellow solid;
}
# table{
border-collapse:collapse;
font-size:100%;
}
# table caption{
background-color:#447495 !important;
color:#FFFFFF;
font-family:Georgia,"Times New Roman",Times,serif;
font-style:italic;
font-weight:bold;
margin-bottom:0;
padding:10px 7px;
}
# table td,
# table th{
vertical-align:top;
padding:5px 3px;
border-right:1px solid #F5F6EA;
}
# table tr{
border-top:1px solid #F5F6EA;
}
# table thead tr{
background-color:#FFFFFF;
}
# table tbody tr{
background-color:#EAECDA;
}
# table tbody tr.odd{
background-color:#DFE3CB;
}
#.text table p{
display:static;
margin:0;
font-size:100%;
line-height:normal;
}
Hi:
Have a look at this paper. I believe you have to use either the ID= values or the CLASS= values that SAS uses by default. http://support.sas.com/resources/papers/proceedings13/365-2013.pdf for more thorough help, you might want to work with Tech Support. You don't show your destination of interest and CSS interpretation might differ based on the destination. There are a couple of different ways to do alternate row coloring and I believe there are Tech Support notes on them, too.
cynthia
Hi:
Have a look at this paper. I believe you have to use either the ID= values or the CLASS= values that SAS uses by default. http://support.sas.com/resources/papers/proceedings13/365-2013.pdf for more thorough help, you might want to work with Tech Support. You don't show your destination of interest and CSS interpretation might differ based on the destination. There are a couple of different ways to do alternate row coloring and I believe there are Tech Support notes on them, too.
cynthia
Thanks Cynthia!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.