How does div automatically stretch the width beyond the parent?

<div class="wrap" style="width: 800px;height: 400px;">
  <ul>
    <li>...</li>
    <li>...</li>
  </ul>
</div>

does not limit the width of ul and li . You want the elements in li to spread out li .
if the element in li exceeds the width of .wrap without setting the dead width, the line will be wrapped.
is there any way to make li force no line wrapping and exceed the width of wrap .

Jun.14,2021

li{
    white-space:nowrap
}
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-1b385b7-2b884.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-1b385b7-2b884.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?