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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1037 views
  • 1 like
  • 2 in conversation