我遇到了DIVS的操作问题。基本上我有一个div和div的外部,如果我把一些HTML文本,它仍然显示在div内。我不确定我做错了什么。如果有人可以偷看,我将不胜感激。提前致谢。div内出现的html内容div
HTML:
To submit <?php echo $_SESSION['sight_type']?> sightings, choose a location type.
New location | ||
Saved location |
THIS SHOULD BE OUTSIDE ABOVE DIV BUT IT PRINTS INSIDE
CSS(最相关的是最后的注释部分)
html { height: 100%; }
body, html { min-height: 100%; height: 100%;margin : 0;
padding : 0; }
/*html, body {
height:auto
height: 100%; }/* Required */
body {
width:100%;
line-height : 1.8em;
color : #000000;
background : #F5F5FF;
}
#container {
position: relative;
min-height: 100%;
width : 800px;
margin : 0 auto 0 auto;
border-style: solid;
border-width:1px;
background : #FFFFCC;
-moz-box-shadow: 10px 10px 5px #888888; /* shadow border */
box-shadow: 10px 10px 5px #888888;
}
#footer {
clear:both;
position:absolute;
text-align: center;
left:0;
bottom: 0;
width: 800px;
background : #FFFFCC;
font : 75% "Trebuchet MS", verdana, arial, tahoma, sans-serif;
}
/* form on form_location_type.php */
#form_location_type {
margin: 0 auto;
background:white;
border:solid 1px;
}