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 [2015/08/14 20:50]
tempo321 Added missing "px"—max-width: needs it.
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; }
frequently_asked_questions.txt · Last modified: 2017/10/10 00:39 (external edit)