日期:2014-05-16  浏览次数:20599 次

求教个div设置背景色的问题。
一般来说div设置背景色是background:"black"; 这样,但是不知道为什么在我这里一直不成功。
http://www.cise.ufl.edu/~jhan/mapfile/u_state.php
网址在这里,求各位帮我看看那个id为 mapcont的 div。 script部分和此题无关。我想要的效果就是width 100%都是同一个背景色。
同时欢迎大家吐槽我的配色,或者给出更好的建议。
谢谢。
------解决方案--------------------
background:"black"; 
改成
background:black; 
------解决方案--------------------
<div class="jvectormap-container" style="width: 100%; height: 100%; position: relative; overflow: hidden; background-color: transparent;"> 改这个值