
Here's a reductive example from some custom sheetwork I'm doing. CSS: .sheet-rolltemplate-example div, .sheet-rolltemplate-example { margin: 20px; padding: 20px; border: 3px solid black; background-color: pink; } HTML: <button type="roll" value="&{template:example} {{name=@{character_name}}}" name="roll_example"></button> <rolltemplate class="sheet-rolltemplate-example"><div> This is an example roll template for {{name}} </div></rolltemplate> Results: If I give the above HTML and CSS as the entirety of a custom sheet, it works: the resulting template is a big spacious pink box. If I keep the above HTML (just the button and the template) but put the rolltemplate CSS stuff shown inside of an existing CSS for the actual sheet I'm developing — CSS which passes a CSS3 validator I ran it through with flying colors, so it's not due to a syntax error or malformation — the result is, no styles are applied to the rolltemplate at all . What gives? What are the gotchas? What troubleshooting method is best used here in order to sort out why CSS that absolutely works in one reductive example context doesn't work at all when dropped into an actual, serious context?