BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
arthurdpereira
Obsidian | Level 7

Yeap, it shows it this way:

 

Error-Form-SAS-03.png

DeMer
Obsidian | Level 7

Looks like the content type is application/octet-stream.  Need it to be text/css.

If you haven't already, I think you need to reload your file using SAS Drive to get it set correctly.

arthurdpereira
Obsidian | Level 7

DeMer, thanks for your help. You gave me more determination to keep insisting. And I did it.

I still don't know why, but the problem occurs that the .css file needs to have the <style></style> tag in the file. Example:

 

 

<style>
	body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100vh;
		background-color: #181c35;
		font-family: Arial, sans-serif;
	}
	/* Your CSS styles */
</style>

This way, the link created from the SASDrive URI recognizes as CSS:

 

 

 

<link href="/files/files/########/content" type="text/css" rel="stylesheet">

Thanks guys for all the support!

 

ChrisNZ
Tourmaline | Level 20

The <style> tags being required is very odd, and maybe not as expected really, but good on you on insisting and finding a solution.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 18 replies
  • 2605 views
  • 1 like
  • 4 in conversation