基本上,我想在另一个上方打印一个div。
def(result):
for result in results
print_detail (result)
print_summary ()
def print_summary():
<div id = "attop">
This is result summary
</div>
def print_detail(result_msg)
some processing...
"""
<div id = "atbottom">
error details <BR>
<div id = "toggler">
<table></table>
</div>
</div>
"""
我想将print_summary放在print_html之上。我试过跟随css但它没有用。 print_summary有点重叠print_detail内容。请指教。
CSS
#attop{
position: relative;
width:auto;
height:30px;
float:left;
margin-top:97px;
#atbottom{
position: fixed;
width:auto;
height:auto;
float:left;