HTML and CSS Reference
In-Depth Information
Figure 6-1. In Firefox, preferred and alternative style sheets can be selected under the View
You can also set the preferred style sheet using the meta element. The http-
equiv="Default-Style" pragma directive may be used to set the preferred style
sheet by setting the content attribute to the title of one of the style sheets. For ex-
ample, the following would set the style sheet with the title “Blue Theme” as the default
style sheet:
<meta charset="utf-8" />
<meta http-equiv="Default-Style" content="Blue Theme"
<title>HTML5 and CSS together</title>
<link rel="stylesheet" href="css/red.css"
type="text/css" title="Red Theme" />
type="text/css" title="Green Theme" />
<link rel="alternative stylesheet" href="css/blue.css"
type="text/css" title="Blue Theme" />
Search WWH ::

Custom Search