User Tools

Site Tools


frequently_asked_questions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
frequently_asked_questions [2014/10/29 13:06]
l [How do I remove all Jonah passage titles?]
frequently_asked_questions [2017/10/10 00:39] (current)
Line 11: Line 11:
  
   * [[#How do I install some new CSS code / a new stylesheet?​]]   * [[#How do I install some new CSS code / a new stylesheet?​]]
-  * [[#In CSS, what do the dots and hashtags ​mean?]]+  * [[#In CSS, what do the dots and number signs mean?]]
   * [[#How do I install some new JavaScript code?]]   * [[#How do I install some new JavaScript code?]]
   * [[#How can I make my Twine playable offline? / How do I import jQuery?]]   * [[#How can I make my Twine playable offline? / How do I import jQuery?]]
Line 81: Line 81:
 You can add as many **stylesheet** passages as you like, or you can keep all your CSS in one **stylesheet** passage--whichever is more convenient for you to use. You can add as many **stylesheet** passages as you like, or you can keep all your CSS in one **stylesheet** passage--whichever is more convenient for you to use.
  
-===In CSS, what do the dots and hashtags ​mean?===+===In CSS, what do the dots and number signs mean?===
  
 A dot (.) indicates a class name. There can be many elements of the same class within an HTML page. For example, a class named "​smurf"​ would look like this in the CSS: A dot (.) indicates a class name. There can be many elements of the same class within an HTML page. For example, a class named "​smurf"​ would look like this in the CSS:
Line 92: Line 92:
     <div class="​smurf">​Brainy</​div>​     <div class="​smurf">​Brainy</​div>​
  
-hashtag ​(#) indicates an id. This means it's a unique name. There can be only one element with the given id in an HTML page. For example, an id named "​highlander"​ would look like this in the CSS:+number sign (#) indicates an id. This means it's a unique name. There can be only one element with the given id in an HTML page. For example, an id named "​highlander"​ would look like this in the CSS:
  
     #highlander { color: red; }     #highlander { color: red; }
Line 228: Line 228:
     .passage { max-width:​50%;​ }     .passage { max-width:​50%;​ }
  
-You can also use whole numbers (e.g. 300 will make the text container 300 pixels wide.)+You can also use whole numbers (e.g. 300px will make the text container 300 pixels wide.)
  
  
frequently_asked_questions.1414587965.txt.gz · Last modified: 2017/10/10 00:37 (external edit)