templates -- HTML & CSS

Jump to solution
ellika
Community Novice

I have a HTML template and CSS style sheet I want to use for a particular content page.  I copied & pasted the HTML in the HTML editor with some success.  How to include the CSS sheet?

Labels (1)
1 Solution
buddyhall
Community Champion

Most likely you will need to convert the CSS style sheet into inline style for the page.  This adds more work for you to maintain, but it will ensure your page is styled correctly.  You can check out Inline Styles in CSS (Cascading Style Sheets) for more information on inline styles.

You can also check with your admin to see if they can add the style to the account css override. This will effect everything in Canvas, so you may need to modify your code to only apply to a certain div id.  Keep in mind, that if students are accessing this page through the mobile app, it doesn't use the account stylesheet.

View solution in original post