html head style html body canv display none html body obj display bloc

 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
<html>
<head>
<style>
html>body .canv { display: none; }
html>body .obj { display: block; }
.canv, .obj { height:80px; }
.old_canv { font-family: 'Tahoma', Arial, sans-serif;
font-size: 12px; width: 40px; margin-top: 40px; }
</style>
<![if IE]>
<style>
.canv { filter: flipv() fliph(); writing-mode: tb-rl; font-size:12px;
font-family: Tahoma; background-color: white; display: block;
color: #888; }
.obj { display: none; }
</style>
<![endif]>
</head>
<body>
<div class="canv">some text</div>
<![if !IE]>
<object class="obj" type="image/svg+xml"
data="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg'&gt;
&lt;text x='-60' y='10' font-family='Tahoma'
font-size='12' transform='rotate(-90)'
text-rendering='optimizeSpeed'
fill='#888'&gt;some text&lt;/text&gt;
&lt;/svg&gt;">
<div class="old_canv">some text</div>
</object>
<![endif]>
</body>
</html>