我遇到了一个问题,即粘性页脚似乎在其上方添加间距,我不确定是什么原因造成的,我尝试了几种不同的粘性页脚方法,但似乎都有同样的问题。标记一定有问题吗?
这是网站: http: //www.adamtoms.co.uk/
感谢任何帮助!
亲切的问候,亚当
<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/mk1/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/mk1/css/general.css" type="text/css" />
</head>
<div id="wrap">
<div id="main">
<div id="container">
<body>
<div id="header" >
<div id="headleft">
<jdoc:include type="modules" name="logo" />
</div>
<div id="headright">
<div id="navr">
<div id="nav">
<jdoc:include type="modules" name="menu" />
</div>
</div>
</div>
</div>
<div id="breadcrumb">
<jdoc:include type="module" name="breadcrumb" />
</div><br />
<div id="content">
<jdoc:include type="component" name="content" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="slider" />
</div>
<div id="leftrightmain">
<div id="midleft">
<jdoc:include type="modules" name="left" />
</div>
<div id="midright">
<jdoc:include type="modules" name="right" /></div>
</div>
</body>
</div>
</div>
</div>
<footer>
<div id="footer"><jdoc:include type="modules" name="footer" />
<jdoc:include type="module" name="debug" />
</footer></div>
</html>