日期:2014-05-17  浏览次数:20616 次

全部家当70分求助div+css的问题

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="top.aspx.cs" Inherits="top" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script type="text/jscript" src="jsinc/MdiWin.js"></script>
<title>top</title>
    <style type="text/css">
        .all {
            left :0px;
            top: 0px;
            height: 66px;
            width: 100%;
            }

        
         #imglogo
        {  
            left :0px;
            top: 0px;
            height: 66px;
            width: 213px;
        }
       
    </style>

</head>
<form id="top" runat="server">
<body>

<div  class="all" >   
<div id="imglogo"><img alt="logo" src="images/logo.jpg" /></div>
</div>

</body>
</form>
</html>

显示的效果是这样的

现在还有个div
内容是:

    <div>
    <a href="#" target="_blank"  >反馈建议</a> |
    <a href="">帮助中心</a> |
    <a href="#" >退出</a>
</div>

我想让他出现在class="all"的那个div的右上角,而且不管窗口怎么变化这个div要老在右上角,请问这要怎么写啊?
想达到的效果是这样的

------解决方案--------------------

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>top</title>
    <style type="text/css">
        .all {
            left :0px;
            top: 0px;
            height: 66px;
            width: 100%;
        }
        #imglogo
        {
            left :0px;
 &nb