最新回答 / 慕粉3880652
                                
                                                            通过设置top,bottom,left,right撑满整个页面的是包裹内容的容器,例如div内容一般就用width,height :100%来撑满这里设置的left:0,right:0 是配合margin:auto,来使图片居中的
                            
                        
                        2016-08-20
                
            
                                最新回答 / meow_meow
                                
                                                            我觉得在这里是不需要。只不过是为了和右边的搜索框float:right相对应;如果.course-search-input的display是block,就需要float:left了,这里是input刚好是display:inline-block
                            
                        
                        2016-08-18
                
            
                                已采纳回答 / qq_換個方向前進_03604091
                                
                                                            <!doctype html><html><head><meta charset="utf-8"><title>left/right拉伸和width同时存在</title&t;d&v{	style&on:div{	position: relative;}.image {    position: absolute; left: 0; right: 0; width: 50%; }.button {	paddi...
                            
                        
                        2016-08-11
                
            
                                最赞回答 / 接力
                                
                                                            先安装一个wampserver类似的集成环境软件,然后以wampserver为例就是wampserver\wamp\www目录下新建一个html文件,写入代码,打开浏览器输入localhost或127.0.0.1/文件名.html,例:http://127.0.0.1/test.html
                            
                        
                        2016-08-03