Learn@UW - 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



Keywords:brightspace learn@uw learnuw d2l desire2learn format CSS style sheet HTML editor format body tag does not display view document   Doc ID:6209
Owner:Joan W.Group:Learn@UW Utility
Created:2007-07-19 19:00 CDTUpdated:2016-05-24 14:31 CDT
Sites:DoIT Help Desk, DoIT Tech Store, Learn@UW Utility
Feedback:  1   0