"

1 Helpful Fundamentals

Resources

Pressbooks-specific Behavior

Pressbooks can occasionally automatically add HTML tags or remove HTML tags it doesn’t “like” (so to speak). Random <span> tags with orphan and font-size properties will occasionally be inserted into the middle of paragraphs, with no visual effect. If inline CSS (or plain HTML) is written incorrectly, it will commonly remove the incorrect markup (“code”) from the text editor entirely.

Importantly, the Custom Styles tab does not do this with incorrectly written external CSS. If an entire page suddenly has absolutely no CSS styling, there is probably a missing closing curly bracket or semi-colon in the Custom Styles external CSS.

Mary’s To Do

(This is really specific CSS stuff & lower priority, but because it is specific I would like to make documentation on it to focus on only the relevant parts of these that we use/can use with Pressbooks for future employees).

  • Classes
  • Common properties
  • Selectors
  • Combinators
  • Pseudo-Classes
  • Pseudo-Elements
  • At-Rules
  • Functions

License

Icon for the Creative Commons Attribution-NonCommercial 4.0 International License

MSUL's OER Program Internal Processes Copyright © by Chandlee Taylor; Joshua Newman; Julie Taylor; Mary Van Newkirk; and Linda Miles is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, except where otherwise noted.