猿问
回到首页
个人中心
反馈问题
注册登录
下载APP
首页
课程
实战
体系课
手记
专栏
慕课教程
写的前端页面当浏览器缩小后右侧会有一段空白是怎么回事,怎么改正
写的前端页面当浏览器缩小后右侧会有一段空白是怎么回事,怎么改正
成长前端初学者
浏览 3704
回答 3
3回答
慕设计9479289
https://www.diaochapai.com/surve ... 6-a8a2-d72bfc379a84https://www.diaochapai.com/survey3163315https://www.diaochapai.com/surve ... b-a67e-0d63e9f70283https://www.diaochapai.com/survey3163317https://www.diaochapai.com/surve ... f-a92f-bc3973ce263ehttps://www.diaochapai.com/survey3163319https://www.diaochapai.com/surve ... 6-9e15-a525312a71afhttps://www.diaochapai.com/survey3163321https://www.diaochapai.com/surve ... b-8aa8-c4e1ad5f21f1https://www.diaochapai.com/survey3163323https://www.diaochapai.com/surve ... e-a65f-a8b6ded33eb9https://www.diaochapai.com/survey3163325https://www.diaochapai.com/surve ... 8-8efa-c5f0930fc2b3https://www.diaochapai.com/survey3163357https://www.diaochapai.com/surve ... 5-be7a-ff017202027fhttps://www.diaochapai.com/survey3163355https://www.diaochapai.com/surve ... 4-9585-668a50e9285bhttps://www.diaochapai.com/survey3163359https://www.diaochapai.com/surve ... c-ae7f-e09dcfc895d5https://www.diaochapai.com/survey3163379https://www.diaochapai.com/surve ... f-acde-5d5124c4dcechttps://www.diaochapai.com/survey3163385https://www.diaochapai.com/surve ... 9-924d-60b96d77daeahttps://www.diaochapai.com/survey3163387https://www.diaochapai.com/surve ... 8-985a-8476d7ce8119https://www.diaochapai.com/survey3163395https://www.diaochapai.com/surve ... 9-8924-1033478dd414https://www.diaochapai.com/survey3163407https://www.diaochapai.com/surve ... 7-8001-31f3aa686453https://www.diaochapai.com/survey3163419https://www.diaochapai.com/surve ... 5-99ea-56ff1be17b1dhttps://www.diaochapai.com/survey3163427https://www.diaochapai.com/surve ... 5-ae06-17fb1dd75d93https://www.diaochapai.com/survey3163443https://www.diaochapai.com/surve ... e-b2b3-bedf09f239echttps://www.diaochapai.com/survey3163445https://www.diaochapai.com/surve ... f-a405-a744d7f975d6https://www.diaochapai.com/survey3163448https://www.diaochapai.com/surve ... e-bd8e-9ed88de6e30chttps://www.diaochapai.com/survey3163465https://www.diaochapai.com/surve ... a-971c-5b580ac8eccahttps://www.diaochapai.com/survey3163471https://www.diaochapai.com/surve ... c-ad42-f777710de8e1https://www.diaochapai.com/survey3163479https://www.diaochapai.com/surve ... 3-b52b-43cb698e407dhttps://www.diaochapai.com/survey3163493https://www.diaochapai.com/surve ... 9-b4f7-990b123a3171https://www.diaochapai.com/survey3163499https://www.diaochapai.com/surve ... b-a875-9ed524314a78https://www.diaochapai.com/survey3163505https://www.diaochapai.com/surve ... e-9c25-f61e811b3720https://www.diaochapai.com/survey3163515https://www.diaochapai.com/surve ... 0-a207-1fb2a2a07d0bhttps://www.diaochapai.com/survey3163521https://www.diaochapai.com/surve ... 8-ae0d-896b5e62b7c8https://www.diaochapai.com/survey3163537https://www.diaochapai.com/surve ... b-85b4-7a0585a88f05https://www.diaochapai.com/survey3163543https://www.diaochapai.com/surve ... b-bcc0-f5666bb33626https://www.diaochapai.com/survey3163545https://www.diaochapai.com/surve ... c-a97f-3fd384e86f4fhttps://www.diaochapai.com/survey3163549https://www.diaochapai.com/surve ... 9-a945-e511cfab6ecfhttps://www.diaochapai.com/survey3163577https://www.diaochapai.com/surve ... 2-9c22-8dd6f49f834fhttps://www.diaochapai.com/survey3163583https://www.diaochapai.com/surve ... 1-a3e3-633d0e7aca27https://www.diaochapai.com/survey3163591https://www.diaochapai.com/surve ... 0-b3aa-b727c92e2a9chttps://www.diaochapai.com/survey3163599https://www.diaochapai.com/surve ... f-92ce-b44bb544e739https://www.diaochapai.com/survey3163601https://www.diaochapai.com/surve ... 4-b384-60b08f789708https://www.diaochapai.com/survey3163617https://www.diaochapai.com/surve ... b-ad20-e029bce32fc9https://www.diaochapai.com/survey3163625https://www.diaochapai.com/surve ... 0-95b7-db41180ab4ddhttps://www.diaochapai.com/survey3163627https://www.diaochapai.com/surve ... 4-bd35-e981153d7c97https://www.diaochapai.com/survey3163631https://www.diaochapai.com/surve ... 2-bd02-0ff937d6af8fhttps://www.diaochapai.com/survey3163655https://www.diaochapai.com/surve ... 9-bdee-f455932e7660https://www.diaochapai.com/survey3163657https://www.diaochapai.com/surve ... 4-96ae-fc7a9407b2c7https://www.diaochapai.com/survey3163659https://www.diaochapai.com/surve ... b-b1d3-83015d8abce9https://www.diaochapai.com/survey3163669https://www.diaochapai.com/surve ... 4-babb-3d5d4ce16ee8https://www.diaochapai.com/survey3163671https://www.diaochapai.com/surve ... d-8e4e-64e76a8c5af9https://www.diaochapai.com/survey3163685https://www.diaochapai.com/surve ... 1-98c9-def0969de452https://www.diaochapai.com/survey3163693https://www.diaochapai.com/surve ... 4-9782-798936dac9dfhttps://www.diaochapai.com/survey3163699https://www.diaochapai.com/surve ... f-aabf-a02e7c12a19ehttps://www.diaochapai.com/survey3163701https://www.diaochapai.com/surve ... 7-ad25-33dbc1902c0fhttps://www.diaochapai.com/survey3163713https://www.diaochapai.com/surve ... 2-8026-493e32b59401https://www.diaochapai.com/survey3163723https://www.diaochapai.com/surve ... 2-b006-b00c6186346ehttps://www.diaochapai.com/survey3163731https://www.diaochapai.com/surve ... 1-8b66-74ce0ce94d98https://www.diaochapai.com/survey3163737https://www.diaochapai.com/surve ... d-8649-98fe41ab7551https://www.diaochapai.com/survey3163747https://www.diaochapai.com/surve ... 7-b508-f1699162c3e1https://www.diaochapai.com/survey3163763https://www.diaochapai.com/surve ... 4-925f-8759af5a74bdhttps://www.diaochapai.com/survey3163767https://www.diaochapai.com/surve ... 3-856c-073eaf2c1958https://www.diaochapai.com/survey3163775https://www.diaochapai.com/surve ... 2-94e6-9cf4ca900a39https://www.diaochapai.com/survey3163781https://www.diaochapai.com/surve ... 4-abc9-1b0db023ff17https://www.diaochapai.com/survey3163799https://www.diaochapai.com/surve ... e-aedb-978dc96316a9https://www.diaochapai.com/survey3163801https://www.diaochapai.com/surve ... 5-88ff-7dc9ec45ee67https://www.diaochapai.com/survey3163815https://www.diaochapai.com/surve ... 9-8290-cd33f76c5e51https://www.diaochapai.com/survey3163817https://www.diaochapai.com/surve ... 6-acd1-409e0451ec71https://www.diaochapai.com/survey3163829https://www.diaochapai.com/surve ... 7-a793-dcaa67d8d0c5https://www.diaochapai.com/survey3163839https://www.diaochapai.com/surve ... b-9248-f0ddc5f08fc2https://www.diaochapai.com/survey3163841https://www.diaochapai.com/surve ... d-8789-aa995582c398https://www.diaochapai.com/survey3163843https://www.diaochapai.com/surve ... 9-80fd-eb8b1a82994ahttps://www.diaochapai.com/survey3163849https://www.diaochapai.com/surve ... c-962e-2e7e6fc21e22https://www.diaochapai.com/survey3163855https://www.diaochapai.com/surve ... 7-94ac-102e72aa27b4https://www.diaochapai.com/survey3163857https://www.diaochapai.com/surve ... 6-85b3-a737551a99e5https://www.diaochapai.com/survey3163863https://www.diaochapai.com/surve ... 0-b5ae-b936a433afb8https://www.diaochapai.com/survey3163867https://www.diaochapai.com/surve ... 5-99df-b9dd4fed13dehttps://www.diaochapai.com/survey3163871https://www.diaochapai.com/surve ... c-b4f1-45830c9dcb56https://www.diaochapai.com/survey3163879https://www.diaochapai.com/surve ... e-9829-5b7e38848e2dhttps://www.diaochapai.com/survey3163885https://www.diaochapai.com/surve ... 5-80bb-d57f9fd5a0echttps://www.diaochapai.com/survey3163887https://www.diaochapai.com/surve ... 3-bcdc-d0910c3e2370https://www.diaochapai.com/survey3163891https://www.diaochapai.com/surve ... 1-83ab-090603be6a15https://www.diaochapai.com/survey3163897https://www.diaochapai.com/surve ... 5-9d72-1b7b6c714cdehttps://www.diaochapai.com/survey3163901https://www.diaochapai.com/surve ... d-85ee-849f7e06219chttps://www.diaochapai.com/survey3163905https://www.diaochapai.com/surve ... c-a502-259142cb8274https://www.diaochapai.com/survey3163911https://www.diaochapai.com/surve ... 0-aa46-38eb679611f3https://www.diaochapai.com/survey3163913https://www.diaochapai.com/surve ... b-8081-d42c5eb9fa25https://www.diaochapai.com/survey3163931https://www.diaochapai.com/surve ... f-9589-892281c64043https://www.diaochapai.com/survey3163935https://www.diaochapai.com/surve ... 5-9e94-ba6d6df79a18https://www.diaochapai.com/survey3163941https://www.diaochapai.com/surve ... 6-9cbd-e635ecc9c61dhttps://www.diaochapai.com/survey3163951https://www.diaochapai.com/surve ... 0-97d2-d6d89cd55ecchttps://www.diaochapai.com/survey3163959https://www.diaochapai.com/surve ... 1-8111-3e5623f10329https://www.diaochapai.com/survey3163965https://www.diaochapai.com/surve ... 0-82ef-a1e56d1f636dhttps://www.diaochapai.com/survey3163975https://www.diaochapai.com/surve ... 5-b2d4-d16702fb9839https://www.diaochapai.com/survey3163981https://www.diaochapai.com/surve ... 4-b8e3-27e4987511b5https://www.diaochapai.com/survey3163987https://www.diaochapai.com/surve ... 2-b458-fbd5fb67a2behttps://www.diaochapai.com/survey3163989https://www.diaochapai.com/surve ... 0-88a5-1ca4e4c902b3https://www.diaochapai.com/survey3163993https://www.diaochapai.com/surve ... 8-ba7a-a6d548a5a4c0https://www.diaochapai.com/survey3163999https://www.diaochapai.com/surve ... 9-8e05-703cf8ac3240https://www.diaochapai.com/survey3164001https://www.diaochapai.com/surve ... 3-adc8-2a202f35b8d0https://www.diaochapai.com/survey3164007https://www.diaochapai.com/surve ... a-8e78-55ca22f2c7b1https://www.diaochapai.com/survey3164011https://www.diaochapai.com/surve ... 5-b3c7-1d3f9f0eb550https://www.diaochapai.com/survey3164017https://www.diaochapai.com/surve ... 0-881c-0852a71d5a73https://www.diaochapai.com/survey3164021https://www.diaochapai.com/surve ... 9-98c6-df66856bb24dhttps://www.diaochapai.com/survey3164029https://www.diaochapai.com/surve ... 1-8e08-24ab3f3e8c51https://www.diaochapai.com/survey3164035https://www.diaochapai.com/surve ... 6-800b-ec3bc41b1bc6https://www.diaochapai.com/survey3164043https://www.diaochapai.com/surve ... 6-a437-c071cacb2d5fhttps://www.diaochapai.com/survey3164051https://www.diaochapai.com/surve ... 4-b1c0-f87ae04b829dhttps://www.diaochapai.com/survey3164053https://www.diaochapai.com/surve ... 3-aacf-92371bd045eahttps://www.diaochapai.com/survey3164065https://www.diaochapai.com/surve ... d-8a53-09cb1045f0dehttps://www.diaochapai.com/survey3164077https://www.diaochapai.com/surve ... 3-9a96-2f74c905c2c6https://www.diaochapai.com/survey3164083https://www.diaochapai.com/surve ... 5-aa0d-c1f755a04c01https://www.diaochapai.com/survey3164087https://www.diaochapai.com/surve ... 2-bd6a-88c82b9e5210https://www.diaochapai.com/survey3164101https://www.diaochapai.com/surve ... 5-9187-ed60ed290951https://www.diaochapai.com/survey3164107https://www.diaochapai.com/surve ... 0-b4ea-fcc081d8a4aahttps://www.diaochapai.com/survey3164111https://www.diaochapai.com/surve ... 2-bbdf-63446fe746ffhttps://www.diaochapai.com/survey3164129https://www.diaochapai.com/surve ... 0-abcf-d9bc5ebefeb8https://www.diaochapai.com/survey3164133https://www.diaochapai.com/surve ... 6-9acf-31d1e7daa3a9https://www.diaochapai.com/survey3164135https://www.diaochapai.com/surve ... e-aa3a-75be553e20achttps://www.diaochapai.com/survey3164141https://www.diaochapai.com/surve ... a-9fcb-391bb84e893fhttps://www.diaochapai.com/survey3164143https://www.diaochapai.com/surve ... d-bbbd-b0ba3dc835dbhttps://www.diaochapai.com/survey3164147https://www.diaochapai.com/surve ... 4-b3a3-ef3baf4d42f7https://www.diaochapai.com/survey3164165https://www.diaochapai.com/surve ... b-88eb-4206a0d5eb0fhttps://www.diaochapai.com/survey3164167https://www.diaochapai.com/surve ... 0-9bdf-a0555ae43f04https://www.diaochapai.com/survey3164169https://www.diaochapai.com/surve ... e-a43f-192875d9c2e1https://www.diaochapai.com/survey3164189https://www.diaochapai.com/surve ... 4-a545-450a65df7dbchttps://www.diaochapai.com/survey3164193https://www.diaochapai.com/surve ... f-b2fd-6354f480ce82https://www.diaochapai.com/survey3164195https://www.diaochapai.com/surve ... b-9d91-c1b3dabd12d7https://www.diaochapai.com/survey3164199https://www.diaochapai.com/surve ... 2-aa4b-d1db4119c263https://www.diaochapai.com/survey3164211https://www.diaochapai.com/surve ... 2-b660-5317c814e0fchttps://www.diaochapai.com/survey3164217https://www.diaochapai.com/surve ... 4-9e46-a528986b01cbhttps://www.diaochapai.com/survey3164225https://www.diaochapai.com/surve ... 7-89e5-cfcb50b88f1fhttps://www.diaochapai.com/survey3164227https://www.diaochapai.com/surve ... b-bf35-12a17367d09bhttps://www.diaochapai.com/survey3164237https://www.diaochapai.com/surve ... b-b44e-a96bda2c1a9fhttps://www.diaochapai.com/survey3164251https://www.diaochapai.com/surve ... c-8409-3f8e91b82177https://www.diaochapai.com/survey3164257https://www.diaochapai.com/surve ... 4-b9a5-dcdcd720bd9bhttps://www.diaochapai.com/survey3164259https://www.diaochapai.com/surve ... f-877b-54be5db410ffhttps://www.diaochapai.com/survey3164271https://www.diaochapai.com/surve ... a-93ff-ec77f4a4aa0ahttps://www.diaochapai.com/survey3164279https://www.diaochapai.com/surve ... e-99ea-eb748b401000https://www.diaochapai.com/survey3164287https://www.diaochapai.com/surve ... 8-a2b6-539885bb77cahttps://www.diaochapai.com/survey3164291https://www.diaochapai.com/surve ... 9-979a-b194ef6dca4fhttps://www.diaochapai.com/survey3164297https://www.diaochapai.com/surve ... 4-b56d-5c4535e5d4b5https://www.diaochapai.com/survey3164305https://www.diaochapai.com/surve ... 1-9940-194d55780d60https://www.diaochapai.com/survey3164307https://www.diaochapai.com/surve ... 4-ab0f-85a500a400b5https://www.diaochapai.com/survey3164315https://www.diaochapai.com/surve ... 6-a026-5fbd31516873https://www.diaochapai.com/survey3164321https://www.diaochapai.com/surve ... 3-8bca-c1d6ac5ff423https://www.diaochapai.com/survey3164323https://www.diaochapai.com/surve ... 3-9ed2-26ffd1ce2173https://www.diaochapai.com/survey3164327https://www.diaochapai.com/surve ... b-9065-83cb6af145b1https://www.diaochapai.com/survey3164331https://www.diaochapai.com/surve ... a-825e-b7c332f6abb6https://www.diaochapai.com/survey3164333https://www.diaochapai.com/surve ... 8-93ea-b3efdb811557https://www.diaochapai.com/survey3164339https://www.diaochapai.com/surve ... e-95a7-2d204d5bea78https://www.diaochapai.com/survey3164341https://www.diaochapai.com/surve ... 8-ad55-ab00a68256cbhttps://www.diaochapai.com/survey3164345https://www.diaochapai.com/surve ... 2-a7d7-bb9b9db6bb16https://www.diaochapai.com/survey3164347https://www.diaochapai.com/surve ... 1-b434-1b406cff0822https://www.diaochapai.com/survey3164355https://www.diaochapai.com/surve ... 7-816e-4a2d357fe129https://www.diaochapai.com/survey3164357https://www.diaochapai.com/surve ... 3-a000-8dc3e770972ehttps://www.diaochapai.com/survey3164359https://www.diaochapai.com/surve ... d-b0bc-8645cbc48ce3https://www.diaochapai.com/survey3164365https://www.diaochapai.com/surve ... 0-aca2-4704e519133chttps://www.diaochapai.com/survey3164407https://www.diaochapai.com/surve ... 8-b6f9-e227a7b647efhttps://www.diaochapai.com/survey3164417https://www.diaochapai.com/surve ... 3-b8d3-51a5470cd8b6https://www.diaochapai.com/survey3164437https://www.diaochapai.com/surve ... 0-a57d-0a3bd264a74fhttps://www.diaochapai.com/survey3164481https://www.diaochapai.com/surve ... 5-8b25-e009c4deb3fdhttps://www.diaochapai.com/survey3164514https://www.diaochapai.com/surve ... e-9997-79766b0bb339https://www.diaochapai.com/survey3164525
0
0
0
夜舞暗澜
需要看你的代码。定宽出现空白很正常,弹性宽度可能与定位有关,flex布局与flex属性、元素宽度容器宽度有关,至于float布局……好吧,可能性就更多了。
0
0
0
weibo_小秋蜀黍_
当然也可以直接将这个body居中,初学可以试试,一般不建议
0
0
0
weibo_小秋蜀黍_
一般是你写的内容没居中的缘故。通常内容会写在一<div>或者<table>中,或者其他。<div style="magin:0 auto">0表示上下间距为0,auto表示水平居中<table align="center">这条属性也表示居中的意思
0
0
0
打开App,查看更多内容
随时随地看视频
慕课网APP
相关问题
为什么字体颜色在Eclipse上没有变化
2 回答
相关分类
Html/CSS
为什么字体颜色在Eclipse上没有变化
2 回答
继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续