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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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