2.Response.Write("background="+"\""+*.gif+"\"");

解决方案 »

  1.   

    第2个问题的解决方法<style type="text/css">
    <!--
    body {
    background-image:  url(images/bg/bg.jpg);
    }
    -->
    </style>
      

  2.   

    1a.
    建议用图片实现,样式表也能实现,但是比较繁琐.1b.
    内嵌样式表
    ----------------------------------------------------------
    <html>
    <head>
    <style type="text/css">
    a:hover {  text-decoration: underline; color: #FF3333}
    a {  text-decoration: none; color: #0099FF}
    </style>
    </head>
    <body>
    <a href="dasdas">adasd</a> 
    </body>
    </html>
    -----------------------------------------------------------
    外连样式表
    -----------------------------------------------------------
    <html>
    <head>
    <link rel="stylesheet" href="style.css" type="text/css">
    </head>
    <body>
    <a href="dasdas">adasd</a> 
    </body>
    </html>
    --------------------------------------------------------------
    在style.css(与html相同目录)文件中写入
    a:hover {  text-decoration: underline; color: #FF3333}
    a {  text-decoration: none; color: #0099FF}