The width of the table,table wrapped by div exceeds the width, and the scroll bar that appears cannot be dragged under windows.

problem description

the width of the table,table of the div package exceeds the width, and the scroll bar that appears cannot be dragged under windows

the environmental background of the problems and what methods you have tried

try
1.table {table-layout: fixed;}
2.table to set a parent div, and set the parent div attribute
overflow:auto;display:block.
set the properties of table
min-width:100%
set the properties of table td:
min-width:50px
are not allowed.

Apr.15,2021

1. Whether the parent div has set the width, only if the width is set and the scroll bar is in the div is the scroll you want to control
2. Just based on the attributes you said, I don't know why the scroll bar can't move, so you can paste the code?
3. If you need a scroll bar horizontally, you must set the definite width of table

made a demo:

.table{
    table-layout:fixed;
    width: 1000px;
    border: 1px solid -sharpccc;
}

.table td{
    border: 1px solid -sharpccc;
}

.wrapper{
    width:500px;
    height: 500px;
    overflow: auto;
    border: 1px solid -sharp000;
}

<div class="wrapper">
    <table class="table">
        <tr>
            <td style="width:200px;">title</td>
            <td>title title title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
            <td>title</td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </table>
</div>

should be consistent with your description. Take a look at what's wrong with your style

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4ba5c-667ee.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4ba5c-667ee.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?