<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>宽屏图片无水平滚动条居中</title>
<style>
body { margin:0px; }
a img { border:none }
</style>
</head>
<body>
<div style="width:100%; min-width:1000px; height:500px; position:relative; overflow:hidden;">
<div style="position:absolute; left:50%; margin-left:-960px; height:500px; width:1920px; overflow:hidden;">
<a target="_blank" href="https://dreamdesign.csrjgzs.com/Article/ShowArticle.asp?/1734-1.html"><img src="https://dreamdesign.105.idcxin.com/bbs/menber/yypz/2013年夏上传/CCTV-4《中华医药》2008-2012节目视频全集.jpg" /></a>
</div>
</div>
</body>
</html>
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>宽屏图片无水平滚动条居中</title>
<style>
body { margin:0px; }
a img { border:none }
</style>
</head>
<body>
<div style="width:100%; min-width:1000px; height:500px; position:relative; overflow:hidden;">
<div style="position:absolute; left:50%; margin-left:-960px; height:500px; width:1920px; overflow:hidden;">
<a target="_blank" href="https://dreamdesign.csrjgzs.com/Article/ShowArticle.asp?/1734-1.html"><img src="https://dreamdesign.105.idcxin.com/bbs/menber/yypz/2013年夏上传/CCTV-4《中华医药》2008-2012节目视频全集.jpg" /></a>
</div>
</div>
</body>
</html>
未经允许不得转载! 作者:admin,转载或复制请以超链接形式并注明出处搜库资源网。
原文地址:https://soku.wang/destoon8/145.html发布于:2019-01-26
还没有评论,来说两句吧...