Skip to content

Commit ca5726b

Browse files
committed
Updated CSS reset.
1 parent 52e6bc4 commit ca5726b

File tree

3 files changed

+49
-4
lines changed

3 files changed

+49
-4
lines changed

ajax_load.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
window.top.location = 'http://desktop.sonspring.com/ie.html';
1111
</script>
1212
<![endif]-->
13-
<link rel="stylesheet" href="assets/stylesheets/html.css" />
13+
<link rel="stylesheet" href="assets/stylesheets/reset.css" />
1414
<link rel="stylesheet" href="assets/stylesheets/desktop.css" />
1515
<!--[if lt IE 9]>
1616
<link rel="stylesheet" href="assets/stylesheets/ie.css" />

assets/stylesheets/html.css renamed to assets/stylesheets/reset.css

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* `XHTML / HTML4 / HTML5 Reset
1+
/* `XHTML, HTML4, HTML5 Reset
22
----------------------------------------------------------------------------------------------------*/
33

44
a,
@@ -13,19 +13,23 @@ b,
1313
big,
1414
blockquote,
1515
body,
16+
canvas,
1617
caption,
1718
center,
1819
cite,
1920
code,
2021
dd,
2122
del,
23+
details,
2224
dfn,
2325
dialog,
2426
div,
2527
dl,
2628
dt,
2729
em,
30+
embed,
2831
fieldset,
32+
figcaption,
2933
figure,
3034
font,
3135
footer,
@@ -50,12 +54,18 @@ legend,
5054
li,
5155
mark,
5256
menu,
57+
meter,
5358
nav,
5459
object,
5560
ol,
61+
output,
5662
p,
5763
pre,
64+
progress,
5865
q,
66+
rp,
67+
rt,
68+
ruby,
5969
s,
6070
samp,
6171
section,
@@ -64,6 +74,7 @@ span,
6474
strike,
6575
strong,
6676
sub,
77+
summary,
6778
sup,
6879
table,
6980
tbody,
@@ -77,7 +88,8 @@ tt,
7788
u,
7889
ul,
7990
var,
80-
video {
91+
video,
92+
xmp {
8193
border: 0;
8294
margin: 0;
8395
padding: 0;
@@ -89,6 +101,27 @@ body {
89101
height: 100%;
90102
}
91103

104+
article,
105+
aside,
106+
details,
107+
figcaption,
108+
figure,
109+
footer,
110+
header,
111+
hgroup,
112+
menu,
113+
nav,
114+
section {
115+
/*
116+
Override the default (display: inline) for
117+
browsers that do not recognize HTML5 tags.
118+
119+
IE8 (and lower) requires a shiv:
120+
http://ejohn.org/blog/html5-shiv
121+
*/
122+
display: block;
123+
}
124+
92125
b,
93126
strong {
94127
/*
@@ -102,6 +135,11 @@ strong {
102135
img {
103136
font-size: 0;
104137
vertical-align: middle;
138+
/*
139+
For IE.
140+
http://css-tricks.com/ie-fix-bicubic-scaling-for-images
141+
*/
142+
-ms-interpolation-mode: bicubic;
105143
}
106144

107145
li {
@@ -122,4 +160,11 @@ caption {
122160
font-weight: normal;
123161
vertical-align: top;
124162
text-align: left;
163+
}
164+
165+
svg {
166+
/*
167+
For IE9 beta.
168+
*/
169+
overflow: hidden;
125170
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
window.top.location = 'http://desktop.sonspring.com/ie.html';
1111
</script>
1212
<![endif]-->
13-
<link rel="stylesheet" href="assets/stylesheets/html.css" />
13+
<link rel="stylesheet" href="assets/stylesheets/reset.css" />
1414
<link rel="stylesheet" href="assets/stylesheets/desktop.css" />
1515
<!--[if lt IE 9]>
1616
<link rel="stylesheet" href="assets/stylesheets/ie.css" />

0 commit comments

Comments
 (0)