1 |
wakaba |
1.1 |
<!-- HSML Implementation : XHTML 2 Stylesheet for WinIE -->
|
2 |
|
|
<PUBLIC:COMPONENT>
|
3 |
|
|
<SCRIPT LANGUAGE="JScript">
|
4 |
|
|
<!-- h|h -->
|
5 |
|
|
var el = element.getElementsByTagName ('h');
|
6 |
|
|
for (var i = 0; i < el.length; i++) {
|
7 |
|
|
el[i].style.display = 'block';
|
8 |
|
|
el[i].style.fontWeight = 'bolder';
|
9 |
|
|
el[i].style.marginBottom = '0.5em';
|
10 |
|
|
el[i].style.fontFamily = '"MS P Gothic", "Arial", sans-serif';
|
11 |
|
|
el[i].style.lineHeight = '1.1';
|
12 |
|
|
}
|
13 |
|
|
|
14 |
|
|
<!-- h|ul -->
|
15 |
|
|
var el = element.getElementsByTagName ('ul');
|
16 |
|
|
for (var i = 0; i < el.length; i++) {
|
17 |
|
|
el[i].style.display = 'block';
|
18 |
|
|
el[i].style.marginTop = '1em';
|
19 |
|
|
el[i].style.marginBottom = '1em';
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
<!-- h|nl -->
|
23 |
|
|
var el = element.getElementsByTagName ('nl');
|
24 |
|
|
for (var i = 0; i < el.length; i++) {
|
25 |
|
|
el[i].style.display = 'block';
|
26 |
|
|
el[i].style.marginTop = '1em';
|
27 |
|
|
el[i].style.marginBottom = '1em';
|
28 |
|
|
el[i].style.listStyleType = 'disc';
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
<!-- h|li -->
|
32 |
|
|
var el = element.getElementsByTagName ('li');
|
33 |
|
|
for (var i = 0; i < el.length; i++) {
|
34 |
|
|
el[i].style.display = 'list-item';
|
35 |
|
|
el[i].style.marginLeft = '1em';
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
<!-- h|l -->
|
39 |
|
|
var el = element.getElementsByTagName ('l');
|
40 |
|
|
for (var i = 0; i < el.length; i++) {
|
41 |
|
|
el[i].style.display = 'block';
|
42 |
|
|
}
|
43 |
|
|
|
44 |
|
|
</SCRIPT>
|
45 |
|
|
</PUBLIC:COMPONENT>
|