我想创建我的网站,我想添加我疯狂的页面。 所以我在自定义页面添加了一些地图代码 “display:inline-block;” 但如果我开始那个页面,它会像这张照片一样消失。
element.style {
border: 1px solid rgb(0, 0, 0);
padding: 0px;
width: 800px;
height: 480px;
display: none;
}
如何找到影响我代码的代码? 告诉我如何找到它的方式。 我需要技能PLZ
答案 0 :(得分:1)
删除以下CSS display: none;
答案 1 :(得分:0)
隐藏元素可以通过将display属性设置为“none”或将visibility属性设置为“hidden”来完成。 (http://www.w3schools.com/css/css_display_visibility.asp)
尝试不使用display none:
element.style {
border: 1px solid rgb(0, 0, 0);
padding: 0px;
width: 800px;
height: 480px;
}