由于在网页中用了使图片向个滚动的脚本使网面的整体布局发生了变化,主要体现在页尾处,本来在页尾放的是一个用户控件,但是显示时又多出了一块地方不知道如何解决?谢谢高手,我十分急呀!代码和脚本在下面:(由于太长,分两部分传)
<%@ Register TagPrefix="uc1" TagName="Top" Src="../Controls/Top.ascx" %>
<%@ Page language="c#" Codebehind="visual.aspx.cs" AutoEventWireup="false" Inherits="Bx_WebServer.Sub.visual" %>
<%@ Register TagPrefix="uc1" TagName="Bottom" Src="../Controls/Bottom.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<title>婷婷视角</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Styles/news.css" type="text/css" rel="stylesheet">
<style type="text/css">BODY { MARGIN: 0px }
BODY { FONT-SIZE: 12px }
TD { FONT-SIZE: 12px }
TH { FONT-SIZE: 12px }
.STYLE1 { FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #f1210a }
</style>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<tr>
<td height="70"><uc1:top id="Top1" runat="server"></uc1:top></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<tr>
<td background="images/index_topline.gif" height="6"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<tr>
<td><IMG height="163" src="images/shijiao_top.jpg" width="780"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<tr>
<td vAlign="top" width="208" height="532">
<table cellSpacing="0" cellPadding="0" width="208" border="0">
<tr>
<td width="8" bgColor="#e7e7e7" height="8"></td>
<td width="191" bgColor="#e7e7e7" height="8"></td>
<td width="8" bgColor="#e7e7e7" height="8"></td>
</tr>
<tr>
<td width="8" bgColor="#e7e7e7" height="680"></td>
<td>
<!--aaaa-->
<div id="icefable1">
<table cellSpacing="0" cellPadding="0" width="178" align="center" border="0">
<tr>
<td height="167"><IMG height="167" src="images/shijiao_pic01.jpg" width="178"></td>
</tr>
<tr>
<td height="167"><IMG height="167" src="images/shijiao_pic02.jpg" width="178"></td>
</tr>
<tr>
<td height="167"><IMG height="167" src="images/shijiao_pic03.jpg" width="178"></td>
</tr>
<tr>
<td height="167"><IMG height="167" src="images/shijiao_pic04.jpg" width="178"></td>
</tr>
</table>
</div>
</td>
<td width="8" bgColor="#e7e7e7">
<!--aaa--></td>
</tr>
</table>
<DIV></DIV>
<div id="icefable2" style="Z-INDEX: 1; VISIBILITY: hidden; POSITION: absolute"></div>
</td>
<td vAlign="top" width="571">
<table class="hangju" cellSpacing="0" width="530" align="center" border="0">
<tr>
<td width="528" height="237">
&nbsp;&nbsp;&nbsp;&nbsp;嗨,大家好,在下不才,就是“婷婷视角”的小编兼主持人—婷婷,从今天起我将在这里,与大家一同去探讨铁路新闻和铁路焦点。<br>
&nbsp;&nbsp;&nbsp;&nbsp;我们北雪数据一直秉承“专心做专业、专致成专长”的理念,把提供最新鲜的铁路行业资讯,最准确的铁路数据,最完备的货运路线,最及时的运价运条信息,最精确的任意两站间的货运运费,最专业的数据服务为己任,力争打造出国内最专业化的铁路数据服务平台,为各企事业单位、个人提供完备的铁路数据服务和信息服务。<br>
&nbsp;&nbsp;&nbsp;&nbsp;知识是无限的,但个人的能力是有限的。希望在今后的交流中,大家不吝赐教,对我的文章多多批评指正,同时我更希望看到大家踊跃投稿;希望通过我们的积极沟通,把最新的铁路观点、最正确的铁路见解带给对方;俗话说“三个臭皮匠顶个诸葛亮”,希望通过我们不断的交流,在分享铁路文章带给我们喜悦的同时,也能给彼此带来一定的收获,这就是我们建立这个栏目的初衷。<br>
&nbsp;&nbsp;&nbsp;&nbsp;如果您是一个铁路爱好者,如果您也跟我一样,对铁路事业满怀激情与畅想,那么欢迎您给小编来稿,小编的邮箱是:<A href="mailto:[email protected]" target="_blank">[email protected]</A>,当然,还有丰厚的稿酬等着您!</td>
</tr>
</table>

解决方案 »

  1.   

    样式表:
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    font-size: 12px;
    }
    td {
    font-size: 12px
    }BUTTON {
    FONT-SIZE: 9pt; HEIGHT: 15px
    }
    SELECT {
    FONT-SIZE: 9pt; HEIGHT: 15px}INPUT {
    BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #666666 1px solid; COLOR: #73737; BORDER-BOTTOM: #666666 1px solid; HEIGHT: 15px; BACKGROUND-COLOR: #ffffff
    }
    a:link {
    text-decoration: none; color:#092BCA
    }
    a:visited {
    text-decoration: none; color:#092BCA
    }
    a:hover {
    text-decoration: none; color:#ff9900
    }
    a:active {
    text-decoration: none;
    }
    .hangju {
    line-height:18px}
    .indexmenu {
    color:#092BCA
    }
    .indexrediannews {color:#F50000;font-size:14px
    }
    .indextitle {
    color:#ffffff;letter-spacing:1px}.indextitle2 {
    color:#000000;letter-spacing:1px}.weizhi {
    color:#666666
    }.newstitle {
    font-size:14px;color:#FF8635 }.news {
    color:#f50000;font-size:16px;letter-spacing:3px }.line {
    line-height:20px; color:#333333; font-size:15px}.leftnews {
    color:#ffffff }.login {
    color:#f50000 }.tu {
    color:#ff0000 }.jian {
    color:#00CC00 }
    .linkblack {
    color:#000000}
      

  2.   

    晕,不是看,可以拷下来放到dreamweaver中就知道是怎么回事了