Skip to content

Commit ddb6a9c

Browse files
committed
Moved Bootstrap IE6 fixes into a separate file.
1 parent d995e19 commit ddb6a9c

File tree

1 file changed

+7
-35
lines changed

1 file changed

+7
-35
lines changed

index.html

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE HTML>
22
<!--
33
/*
4-
* JavaScript Templates Demo 1.0
4+
* JavaScript Templates Demo 1.0.1
55
* https://github.com/blueimp/JavaScript-Templates
66
*
77
* Copyright 2011, Sebastian Tschan
@@ -16,39 +16,8 @@
1616
<meta charset="utf-8">
1717
<title>JavaScript Templates Demo</title>
1818
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">
19-
<style type="text/css">
20-
.page-header {
21-
background-color: #f5f5f5;
22-
padding: 80px 20px 10px;
23-
margin: 0 -20px 20px;
24-
border: 1px solid #DDD;
25-
-webkit-border-radius: 0 0 6px 6px;
26-
-moz-border-radius: 0 0 6px 6px;
27-
border-radius: 0 0 6px 6px;
28-
}
29-
</style>
30-
<!--[if lt IE 7]>
31-
<style type="text/css">
32-
.span5, .span6 {
33-
display: inline;
34-
float: left;
35-
margin-left: 20px;
36-
}
37-
.topbar {
38-
position: absolute;
39-
}
40-
.topbar ul, .topbar .container {
41-
padding-top: 10px;
42-
}
43-
.topbar li {
44-
display: inline;
45-
margin-right: 10px;
46-
}
47-
.topbar a:hover {
48-
color: #fff;
49-
}
50-
</style>
51-
<![endif]-->
19+
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/Bootstrap-Image-Gallery/bootstrap-ie6.min.css"><![endif]-->
20+
<style type="text/css">body {padding-top: 80px;}</style>
5221
<meta name="description" content="&lt; 1KB lightweight, fast &amp; powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.">
5322
</head>
5423
<body>
@@ -71,9 +40,12 @@
7140
<div class="container">
7241
<div class="page-header">
7342
<h1>JavaScript Templates Demo</h1>
43+
</div>
44+
<blockquote>
7445
<p><strong>&lt; 1KB</strong> lightweight, fast &amp; powerful <a href="https://developer.mozilla.org/en/JavaScript/">JavaScript</a> templating engine with zero dependencies.<br>
7546
Compatible with server-side environments like <a href="http://nodejs.org/">node.js</a>, module loaders like <a href="http://requirejs.org/">RequireJS</a> and all web browsers.</p>
76-
</div>
47+
</blockquote>
48+
<br>
7749
<div class="row">
7850
<div class="span5">
7951
<h2>Template</h2>

0 commit comments

Comments
 (0)