BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
metallon
Pyrite | Level 9

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;

}

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ


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

View solution in original post

2 REPLIES 2
Cynthia_sas
SAS Super FREQ


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

metallon
Pyrite | Level 9

Thanks Cynthia!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1055 views
  • 1 like
  • 2 in conversation