-
Notifications
You must be signed in to change notification settings - Fork 3
/
navVerticalFixed.html
121 lines (98 loc) · 7.81 KB
/
navVerticalFixed.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1.0"/>
<title>Rain CSS > Navigation Vertical Fixed Examples</title>
<!-- Framework CSS -->
<link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="all"/>
<link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print"/>
<!--[if lte IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="css/rain.css" type="text/css" media="all"/>
<!--[if lt IE 9]><script type="text/javascript" src="js/html5.js"></script><![endif]-->
<style type="text/css">
/** for a page fixed banner **/
html,body{ height:100%; overflow:hidden;}
.menuNav{ height:auto;}
.banner{ height:100%; width:200px; z-index: 99999; }
.container{ width:100%; height:100%!important; overflow:auto;}
.content{width:auto; left:200px; top:0; height:1000px;}
* html banner{top:0; left:0; z-index:100;}
</style>
</head>
<body class="body posr">
<div class="banner posf positionFixForIE6 last">
<div class="headerBlue">
<nav class="lsn posr clearfix">
<a href="http://www.webdevelopmentmachine.com" target='_blank' class="headerLink headerLinkBlue pl block tdn">首页home</a>
<a href="http://www.webdevelopmentmachine.com/blog" target='_blank' class="headerLink headerLinkBlue pl block tdn">博客blog</a>
<a href="http://www.webdevelopmentmachine.com/demo/game.html" target='_blank' class="headerLink headerLinkBlue pl block tdn">游戏game</a>
</nav>
</div>
<div class="headerM headerGrey">
<div class="container posr">
<div class="l"><a class="tdn block ptll fsxxl" href="index.html">Rain CSS</a></div>
</div>
</div>
</div>
<div class="container posr">
<div class="content pt pl posa">
<div class="entry mainBox">
<h1 class="entryTitle">HTML & CSS</h1>
<p><a href="#">ran</a> 发表于 , 分类:<a href="#"></a>, Tips, <a href="#">6条评论 »</a>,10次阅读</p>
<p>HTML (the Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the core technologies
for building Web pages. HTML provides the structure of the page, CSS the (visual and aural) layout, for a
variety of devices. Along with graphics and scripting, HTML and CSS are the basis of building Web pages and
Web Applications. Learn more below about:</p>
<h2>What is HTML?</h2>
<p>HTML is the language for describing the structure of Web pages. HTML gives authors the means to:</p>
<ul>
<li>Publish online documents with headings, text, tables, lists, photos, etc.</li>
<li>Retrieve online information via hypertext links, at the click of a button.</li>
<li>Design forms for conducting transactions with remote services, for use in searching for information,
making reservations, ordering products, etc.</li>
<li>Include spread-sheets, video clips, sound clips, and other applications directly in their documents.</li>
</ul>
<p>With HTML, authors describe the structure of pages using markup. The elements of the language label pieces of
content such as "paragraph," "list," "table," and so on.</p>
<h2>What is XHTML?</h2>
<p>XHTML is a variant of HTML that uses the syntax of XML, the Extensible Markup Language. XHTML has all the same
elements (for paragraphs, etc.) as the HTML variant, but the syntax is slightly different. Because XHTML is an
XML application, you can use other XML tools with it (such as XSLT, a language for transforming XML content).</p>
<h2>What is CSS?</h2>
<p>CSS is the language for describing the presentation of Web pages, including colors, layout, and fonts. It allows
to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is
independent of HTML and can be used with any XML-based markup language. The separation of HTML from CSS makes it
easier to maintain sites, share style sheets across pages, and tailor pages to different environments. This is
referred to as the separation of structure (or: content) from presentation.</p>
<h2>Examples</h2>
<p>The following very simple example of a portion of an HTML document illustrates how to create a link within a paragraph.
When rendered on the screen (or by a speech synthesizer), the link text will be "final report"; when somebody activates the
link, the browser will retrieve the resource identified by "http://www.example.com/report":</p>
<p>The class attribute on the paragraph's start tag ("<p>") can be used, among other thing, to add style. For instance, to
italicize the text of all paragraphs with a class of "moreinfo," one could write, in CSS:</p>
<p>p.moreinfo { font-style: italic }</p>
<p>By placing that rule in a separate file, the style may be shared by any number of HTML documents.</p>
<p>The following very simple example of a portion of an HTML document illustrates how to create a link within a paragraph.
When rendered on the screen (or by a speech synthesizer), the link text will be "final report"; when somebody activates the
link, the browser will retrieve the resource identified by "http://www.example.com/report":</p>
<p>The class attribute on the paragraph's start tag ("<p>") can be used, among other thing, to add style. For instance, to
italicize the text of all paragraphs with a class of "moreinfo," one could write, in CSS:</p>
<p>p.moreinfo { font-style: italic }</p>
<p>By placing that rule in a separate file, the style may be shared by any number of HTML documents.</p>
<p>The following very simple example of a portion of an HTML document illustrates how to create a link within a paragraph.
When rendered on the screen (or by a speech synthesizer), the link text will be "final report"; when somebody activates the
link, the browser will retrieve the resource identified by "http://www.example.com/report":</p>
<p>The class attribute on the paragraph's start tag ("<p>") can be used, among other thing, to add style. For instance, to
italicize the text of all paragraphs with a class of "moreinfo," one could write, in CSS:</p>
<p>p.moreinfo { font-style: italic }</p>
<p>By placing that rule in a separate file, the style may be shared by any number of HTML documents.</p>
</div>
<footer class="footer socialFooter c borderTop">
<p class="ps">Maintained by the <a href="https://github.com/rainzhai" class="blue">RainZhai</a>.</p>
<p class="ps">Code licensed under <a rel="license" class="blue" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, documentation under <a rel="license" class="blue" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</p>
</footer>
</div>
</div>
</body>
</html>