How to make a vertical scrollbar on the left side and the horizontal scrollbar should start from the left side at the bottom
I've tried the following:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Test</title>
</head>
<body>
<div
style="height: 100px; direction: rtl; overflow: auto; width: 150px;">
<span style="direction: ltr;">
<table>
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
<td>Test4</td>
</tr>
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
<td>Test4</td>
</tr>
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
<td>Test4</td>
</tr>
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
<td>Test4</td>
</tr>
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
<td>Test4</td>
</tr>
<table>
</span>
<div>
</body>
</html>
the above code shows a vertical stripe on the left side, but a bottom horizontal stripe starting from the right side. can anyone help me get the bottom horizontal bar starting from the left side?
As per the above code, the image looks like this:
I'm trying to get the default image by default:
+3
source to share
3 answers
I didn't even understand what a creature is.
I edited your code (and put it in jsbin). I changed the following:
<div style="height: 100px; direction: rtl; overflow: auto; width: 150px;">
<div style="direction: ltr; width: 150px; overflow: auto;">
I changed the span to a div (because this is the default blocking element). The first div handles the vertical scrollbar, which should be in right-to-left mode. The second div handles the horizontal scrollbar, which should be the default.
You can see a working jsbin here
0
source to share