关于jsp中布局问题????????????????????????????????????????????????
wel.jsp中:<td width="87%" height="64%" align="left" valign="top">
<jsp:include page="right.jsp"></jsp:include>
</td>
----------------------------------------------------------------------
right.jsp中:
<div class="content">
<iframe src="<%=request.getContextPath() %>/addfund.jsp"
frameborder="no" border="0" marginwidth="0" width="100%" height="100%"
marginheight="0" scrolling="no" allowtransparency="yes"
name="contentFrame">
</iframe>
</div>
css部分:
@CHARSET "UTF-8";
.content{
padding: 0px;
width: 100%;
height: 100%;
}
----------------------------------------------------------------------
addfund.jsp中:
<div class="body">
<form action="?">
<div class="childname">
<span>名称:</span>
<input type="text" name="infund"/>
</div>
<div class="childprice">
<span>单价:</span>
<input type="text" name="infund"/>
</div>
<div class="childtc">
<span ><input type="reset" name="ct" value="重 填"></span>
<span id="ct"><input type="submit" name="tj" value="添 加"></span>
</div>
</form>
</div>
对应的css:
@CHARSET "UTF-8";
.body{
margin:0px;
padding:0px;
background-image:url("./../images/addfund_images/addfundbg.jpg");
background-repeat:no-repeat;
border:1px inset blue;
width: 446px;
height: 223px
}
.childname{
margin-top: 33px;
margin-left: 45px;
}
.childprice{
margin-top: 8px;
margin-left: 45px;
}
.childtc{
margin-top: 40px;
margin-left: 127px;
}
#ct{
margin-left: 15px;
}
最终iframe中的addfund.jsp中的内容显示不完整,只是上半部分,怎么会事情???????????????????????? JSP 布局 CSS UTF-8 --------------------编程问答-------------------- --------------------编程问答--------------------
这是我想实现的 --------------------编程问答-------------------- 打错了,是往右移动点
补充:Java , Java EE