Body width is not as wide as content width

when the width of the content in body exceeds the width of body due to the setting of left,margin thank you, and the width of body is not as wide as the width of the content, how to make the width of body equal to the width of the complete content?

Mar.06,2021

you must have elements that deviate from the standard stream, otherwise the body width will automatically prop up. BFC learn about


wrap a package element in body to make him form BFC


body add an overflow:hidden to try


clear:both


because the code is relatively long, and the streaming layout is also used, resulting in a bit of chaos in the whole layout. There is still no solution to the problem. It is realized in other ways to avoid this form. Js can also be used


seems to be unable to automatically open body

.
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-1be2b2c-3160f.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-1be2b2c-3160f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?