BookmarkSubscribeRSS Feed
OS2Rules
Obsidian | Level 7
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.
1 REPLY 1
Cynthia_sas
Diamond | Level 26
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1082 views
  • 0 likes
  • 2 in conversation