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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 4535 views
  • 2 likes
  • 4 in conversation
OSZAR »