Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Page layout facilities > Templates > Cascading style sheets > Format and location of a cascading stylesheet
 
Format and location of a cascading stylesheet
A CSS is a text file containing lines that define the appearance of different components of the questionnaire. Each line starts with a tag that is followed by a number of formatting instructions enclosed in braces (curly brackets). For example:
.mrQuestionText { font-family:Tahoma; color:blue }
Here, the tag is .mrQuestionText, which tells us that the instruction refers to question texts. The instructions inside the braces define the appearance of the question text — it will be blue and the font will be Tahoma.
You can type these instructions in whatever format you like. For example, you could type the .mrQuestionText definition as:
.mrQuestionText {
  font-family:Tahoma;
  color:blue
}
if you find this easier to follow.
You can call your CSS anything you like, although it is best to give it a .css extension so that it is easily recognizable.
If you are testing your CSS and need to change it, you must close and reopen your browser for the changes to be recognized.
See also
Cascading style sheets