Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<body>
<span style="width:1px; word-wrap:break-word;">Shop1</span>
<span style="width:1px; word-wrap:break-word;">Shop2</span>
</body>
</html>
<style type="text/css">
.foo th
{ writing-mode: tb-rl;
}
</style>
<table class="foo">
<tr>
<th>shop1</th>
<th>shop2</th>
<th>shop3</th>
<th>shop4</th>
</tr>
<tr><td>1</td><td>2</td><td>1</td><td>0</td></tr>
<tr><td>4</td><td>2</td><td>0</td><td>3</td></tr>
<tr><td>0</td><td>0</td><td>1</td><td>0</td></tr>
</table>
<body onload = "initTables()">
...
<script language="javascript">
function initTables()
{ var aTables = document.getElementsByTagName("TABLE");
for (i=0; i< aTables.length; i++)
if( (oTab = aTables[i]).className == "foo" )
for( oRow = oTab.rows[0], j=0; j< oRow.cells.length; j++ )
{ sCell = oRow.cells[j].innerHTML;
for( sNew = "", k=0;k<sCell.length; k++) sNew+= sCell.substr(k, 1) + "<br>";
oRow.cells[j].innerHTML = sNew;
}
}
</script>