html提交表单后留在原页面,表单提交后HTML页面保持重复

我有一个包含以下HTML元素的PHP页面。

在相应的CSS文件中:

#templatemo_banner {

width: 960px;

height: 288px;

margin: 0 auto;

background: url(images/templatemo_banner_bg.jpg) no-repeat;

border-bottom: 5px solid #cfd389;

}

#templatemo_banner #logo {

float: left;

margin: 100px 0 0 80px;

width: 673px;

height: 128px;

background: url(images/templatemo_logo.jpg) no-repeat;

}

#templatemo_menu_search {

clear: both;

width: 960px;

height: 50px;

background: url(images/templatemo_menu_bg.jpg) no-repeat;

}

#templatemo_menu {

float: left;

width: 650px;

height: 50px;

}

#templatemo_menu ul {

margin: 0px;

padding: 0px;

list-style: none;

}

#templatemo_menu ul li {

display: inline;

}

#templatemo_menu ul li a {

float: left;

display: block;

padding: 0 30px;

height: 35px;

padding-top: 18px;

text-align: center;

font-size: 12px;

text-align: center;

text-decoration: none;

color: #333333;

font-weight: bold;

outline: none;

}

#templatemo_menu li a:hover, #templatemo_menu li .current {

color: #ffffff;

background: url(images/templatemo_menu_hover.jpg) no-repeat;

}

我遇到这个问题,上面提到的html元素在我执行表单提交后重复了一次。你可以想象它,就像我有我的横幅和菜单后,在原始集下面有一个额外的横幅和菜单。无论如何,刷新页面后额外的元素都会消失。

我将不胜感激任何建议。我使用谷歌浏览器作为我的浏览器在XAMPP 1.7.7中运行此代码。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值