The SAS Output Delivery System and reporting techniques

Center Image in Table Cell

Reply
Super Contributor
Posts: 358

Center Image in Table Cell

Hi All:

I have an image that I have added to my PROC REPORT that is a hyperlink when output using ODS HTML.

Is there a simple way to center the image in the cell (left / right, not up / down).

The cell is created with the width of the column header (which I can't change) and the image is much more narrow than the cell width (it is just a button to press) and it seems to be left justified.


Thanks in advance.
SAS Super FREQ
Posts: 8,868

Re: Center Image in Table Cell

Hi:
If you are creating the URL in a CALL DEFINE, have you also tried a STYLE attribute override of JUST=C???? or put JUST=C on the DEFINE statement???
[pre]
DEFINE URLVAR / display style(column)={just=c};
[/pre]

I don't know whether this will work for images, however. You might want to open a track with Tech Support on this one.

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 167 views
  • 0 likes
  • 2 in conversation