Skip to content

Commit 19c8e8c

Browse files
committed
Moved Bootstrap IE6 fixes into a separate file.
1 parent 89126fa commit 19c8e8c

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed

index.html

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,8 @@
1616
<meta charset="utf-8">
1717
<title>JavaScript Load Image</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-
.span6, .span10 {
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="JavaScript Load Image is a function to load images provided as File or Blob objects or via URL. It returns an optionally scaled HTML img or canvas element.">
5322
</head>
5423
<body>
@@ -71,9 +40,12 @@
7140
<div class="container">
7241
<div class="page-header">
7342
<h1>JavaScript Load Image Demo</h1>
43+
</div>
44+
<blockquote>
7445
<p><a href="https://developer.mozilla.org/en/JavaScript/">JavaScript</a> Load Image is a function to load images provided as <a href="https://developer.mozilla.org/en/DOM/File">File</a> or <a href="https://developer.mozilla.org/en/DOM/Blob">Blob</a> objects or via URL.<br>
7546
It returns an optionally scaled HTML <strong>img</strong> or <strong>canvas</strong> element.</p>
76-
</div>
47+
</blockquote>
48+
<br>
7749
<div class="row">
7850
<div class="span6">
7951
<h2>Select an image file</h2>

0 commit comments

Comments
 (0)