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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1106 views
  • 0 likes
  • 2 in conversation