0

基本上,我想在另一个上面打印一个 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;
4

0 回答 0