Learn@UW/D2L - Formatting in a HTML Content Topic Specified in a CSS Style Sheet Not Displayed within the HTML Editor.

If a Content topic references a CSS Style Sheet, and the formatting specified in the Style Sheet is displayed when viewing the topic but not within the HTML Editor, the link tag referencing the CSS style sheet is improperly placed.

The link tag looks similar to this:

<link rel="Stylesheet" type="text/css" href="{course_path}.{filename}.css" />

The link tag should be placed between the body tags ( <body> ... </body> ) of the document. 

It should not be placed between the head tags ( <head> ... </head> ) or elsewhere outside the body tags.

Example link Tag

<link rel="Stylesheet" type="text/css" href="/content/enforced/189648-HTS/CSS Havers/dino.css"  />

Example View of Topic in HTML Editor with link Tag Not Between body Tags

HTML Editor View

Example View of Topic in HTML Editor with Link Tag Placed Between body Tags

Content View