Here is a simple example of the problem. I want to put a slider on the bottom and left side of an image in a table. It works great on the bottom, but the height and width parameters in the style command need reversed when the slider is rotated. This seems to be a bug in the slider itself. I just put this in a table to show the problem. Width in the table cell is too wide ! Link to this web page: https://s3.amazonaws.com/berry-genealogy/index2.html The display below does not show the table borders for some reason, or the sliders. Click the link above to see the actual page, it is open to public.
<pre>
<!DOCTYPE html>
<html>
<body>
<table border="1">
<tr>
<td>
<input type='range' style=`width:5px;height:150px;transform:rotate(var(--r,90deg));`>
</td>
<td>
<img height=150 src="https://s3.amazonaws.com/berry-genealogy/00092_0.jpg"
</td>
</tr>
<tr>
<td></td>
<td>
<input type='range' style=`width:100px;height:10px;transform:rotate(var(--r,0deg));`>
</td>
</tr>
</table>
</body>
</html>
</pre>