Desktop productivity for business analysts and programmers

How do I left justify the banner image in 3.0?

Reply
Occasional Contributor
Posts: 9

How do I left justify the banner image in 3.0?

I'm modifying all sorts of style attributes in the style manager/editor with great results in EG 3. However, there seems to be no way to move the banner image to the left (it defaults to center.)

any help is appreciated.
Community Manager
Posts: 2,884

Re: How do I left justify the banner image in 3.0?

Kenny,

I'm afraid not. EG forces the banner image to be centered. The only suggestion I can offer is to increase the width of the image file to the right with white space, thus the pretty part of the image will appear more to the left when viewed in a browser.

Chris
Occasional Contributor
Posts: 9

Re: How do I left justify the banner image in 3.0?

That's not terrible news - at least I know I'm not a complete idiot! I'll have to suggest this as a new feature (unless it's already in 4.0?)

It just does not look right of you have a report left justified, and the image is skewed to the right. Perhaps for now I'll just go back to centering my reports.
N/A
Posts: 0

Re: How do I left justify the banner image in 3.0?

Chris,

Do you know if it is now possible to left-justify banners in EG 4.1? Your previous answer referred to EG 3.0 in 2006.

That is the standard format required for our reports. Otherwise, we'll have to skip the banner altogether. Thanks!
Community Manager
Posts: 2,884

Re: How do I left justify the banner image in 3.0?

The answer is still the same for EG 4.1. You can have a look at: http://support.sas.com/kb -- search for "eguide banner" (no quotes) and you'll find a number of SAS notes on the topic. Something in there might lead you to a solution for you.

Chris
SAS Super FREQ
Posts: 8,814

Re: How do I left justify the banner image in 3.0?

Depending on your destination of choice (HTML, RTF, PDF), you CAN get a left-justified image by taking the image out of the CSS file and moving it into a title statement, using ODS ESCAPECHAR:
[pre]
ods html file='leftlogo.html' style=sasweb;

ods escapechar='~';
title j=l '~S={preimage="http://www.wombat.com/logo.gif"} ' j=c 'Rest of Title';

proc print data=sashelp.class;
run;
ods html close;

OR

title1 j=l '~S={preimage="http://www.wombat.com/logo.gif"} ' ;
title2 j=c 'Rest of Title';
[/pre]
You may or may not like the way it looks -- you don't have as much control over sizing as you do with CSS and you have to specify the preimage location differently for HTML vs RTF and PDF:
HTML = where the image will be when the HTML page is loaded by the browser
RTF/PDF = where the image will be when the RTF/PDF file is CREATED

But this might be an alternative for you. Note that the ODS ESCAPECHAR that you declare in the ODS ESCAPECHAR statement must be the same one that you use in the TITLE statement (in my example, I use the tilde ~).

cynthia
Ask a Question
Discussion stats
  • 5 replies
  • 124 views
  • 0 likes
  • 4 in conversation