Hi,
We have report, having column header with back ground color as blue and foreground color as white.
Now we have add a URL / link to each colulmn's header, by default the link show blue colour.
since background color and link color are in blue. the link text dont visible nice.
I would like to know,is the way to change the URL / link color?
I am using the below syntax now:
Define Variable /"Variable 1" style(header)={flyover="click for more" url="www.sas.com" ;
Thank you for your time in advance,.
Regards,
Alex
The color of links is determined by the user agent (browser) according to the user's settings.
It is considered bad practice to override that, as it may/will cause confusion for the user regarding visited/not visited links.
I'd rather change the report colours in your situation to a more unobtrusive background colour.
Also keep in mind that too much use of colours will make web content hard to view.
Less is usually more here.
Just consider the main area of this website (SAS communities) and the sparing use of colours.
Hello Kurt Bremser,
Thank you for suggestion, you points are correct. But our users are used with backgorund color as blue and foreground color as white. It would be great if i get a solution to change the foreground color for the links.
Thanks again,
Regards,
Alex
have you already tried to set the colors like
style(header)=[foreground=white background=blue];
?
Thank you Cynthia, Your suggestion solved my issue.
Regards,
Alex
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.