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
SAS Super FREQ
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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 844 views
  • 0 likes
  • 2 in conversation