Desktop productivity for business analysts and programmers

REMOVE BORDERS OF CELL

Reply
Occasional Contributor
Posts: 15

REMOVE BORDERS OF CELL

SnipImage.JPGI wnt to remove this two borders(left and right) and make the text as left alligned. Can anybody help me how to do this?

SAS Super FREQ
Posts: 8,818

Re: REMOVE BORDERS OF CELL

Hi:

  It is easy to left justify the text. To your PROC REPORT statement, you would add:

proc report data=sashelp.class nowd

       style(lines)={just=l};

  As for your border question, there are border styles that you might use to change the colors of those borders, for example to white. However, your text will still be left justified within the boundary of the table -- even if the left and right borders are gone. So, if you want some sort of paragraph of text that is left justified to a page, for example, just getting rid of the borders won't help.

  And, the border changes, if they are want you want, might not work in ALL destinations. So, without knowing what destination you are using (HTML, PDF, RTF, SASReport) for your output, and what exactly you hope to achieve (left justify the text within the boundary of the table or left justify the text to the left margin of the page), it is hard to help you more.

  If you do hope to left justify the text to the left hand side of the page, then you would split your table into two steps and use ODS TEXT= between each step. The attached screen shot shows the how left justification works inside the boundary of the table and outside the boundary of the table.

cynthia


left_just_in_table.jpg
Occasional Contributor
Posts: 15

REMOVE BORDERS OF CELL

The border colors I want to apply for HTML. But the style property bordercolor is not applying to the HTML. Though it is fine for PDF. Can you help me for HTML? What do you mean to say by "split your table". Like two tables with two different proc report and ODS TEXT in between.

Ask a Question
Discussion stats
  • 2 replies
  • 295 views
  • 0 likes
  • 2 in conversation