注册时间2012-12-1
在线时间 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2022-2-21 17:54
|
显示全部楼层
醉醉,你复制的代码同我给你的代码对比一下看看:- <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_10152953">
- <style type="text/css">#outLayer {/* 最outLayer边框的样式设置 */
- width:960px; /* 只对最outLayer边框设置宽度 */
- position:relative;
- margin: 100px auto 32px -180px;
- overflow:hidden;
- border-radius:32px;
- background-image: url(<font color="#ff0000"><a href="https://z3.ax1x.com/2021/11/21/IjYJQP.gif" target="_blank"></font>https://z3.ax1x.com/2021/11/21/IjYJQP.gif<font color="#ff0000"></a></font>);
- padding:45px;
- }
- #innerLayer {/* innerLayer边框的样式设置 */
- background-image: url(<font color="#ff0000"><a href="https://z3.ax1x.com/2021/11/19/IHSQFU.gif" target="_blank"></font>https://z3.ax1x.com/2021/11/19/IHSQFU.gif<font color="#ff0000"></a></font>);
- width:auto; /* 其余各层边框宽度设置为auto */
- padding:8px;
- border-color: #F5DEB3 #F5DEB3 #F5DEB3 #F5DEB3;
- border-style:LightGray;
- border-width:3px;
- }
- #contentLayer {/* 内层的样式设置 */
- width:auto;/* 其余各层边框宽度设置为auto */
- height:auto !important; /* 最里层边框高度设置为auto,并且指明个最小高度 */
- min-height:400px; /* 或者给高度设置个确定的值,但这样做就失去了灵活性 */
- text-align:center;
- background-color:#E6E6FA;
- padding:16px;
- border-color: #F5DEB3 #F5DEB3 #F5DEB3 #F5DEB3;
- border-style:solid;
- border-width:3px;
- }
- #kxz {
- font:italic bold 45px 楷体, 楷体_GB2312;
- -webkit-background-clip:text;
- -webkit-text-fill-Crimson:transparent;
- display:inline;
- position:absolute;left:180px;top:60px;
- -webkit-text-stroke:thin yellow;text-shadow: 2px 2px 12px Blue;
- }
- #contentLayer iframe {
- width:100%;
- margin:12px auto;
- -width:800px;height:500px;position:relative;
- clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
- }
- </style>
- <p>视频没开始播放就点它一下</p>
- <div id="outLayer">
- <div id="innerLayer">
- <div id="contentLayer">
- <br />
- <div id="kxz">《幸福花儿飞》 演唱:阿娜丹</div>
- <br />
- <div style="color:#0000FF;font-size:1.2em;margin-top:20px;">素材网络:编辑:静悟</div>
- <br />
- <br />
- <iframe height=500 width=800
- src='https://player.youku.com/embed/<font color="#ff0000">id_</font>XNTE4MzQzNzgyNA==?autoplay=true' frameborder=0 'allowfullscreen'></iframe>
- </div>
- </div>
- </div>
- <div style="height:170px;"></div>
复制代码 下面是我的代码:
- <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_10152953">
- <style type="text/css">#outLayer {/* 最outLayer边框的样式设置 */
- width:960px; /* 只对最outLayer边框设置宽度 */
- position:relative;
- margin: 100px auto 32px -180px;
- overflow:hidden;
- border-radius:32px;
- background-image: url(https://z3.ax1x.com/2021/11/21/IjYJQP.gif);
- padding:45px;
- }
- #innerLayer {/* innerLayer边框的样式设置 */
- background-image: url(https://z3.ax1x.com/2021/11/19/IHSQFU.gif);
- width:auto; /* 其余各层边框宽度设置为auto */
- padding:8px;
- border-color: #F5DEB3 #F5DEB3 #F5DEB3 #F5DEB3;
- border-style:LightGray;
- border-width:3px;
- }
- #contentLayer {/* 内层的样式设置 */
- width:auto;/* 其余各层边框宽度设置为auto */
- height:auto !important; /* 最里层边框高度设置为auto,并且指明个最小高度 */
- min-height:400px; /* 或者给高度设置个确定的值,但这样做就失去了灵活性 */
- text-align:center;
- background-color:#E6E6FA;
- padding:16px;
- border-color: #F5DEB3 #F5DEB3 #F5DEB3 #F5DEB3;
- border-style:solid;
- border-width:3px;
- }
- #kxz {
- font:italic bold 45px 楷体, 楷体_GB2312;
- -webkit-background-clip:text;
- -webkit-text-fill-Crimson:transparent;
- display:inline;
- position:absolute;left:180px;top:60px;
- -webkit-text-stroke:thin yellow;text-shadow: 2px 2px 12px Blue;
- }
- #contentLayer iframe {
- width:100%;
- margin:12px auto;
- -width:800px;height:500px;position:relative;
- clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
- }
- </style>
- <p>视频没开始播放就点它一下</p>
- <div id="outLayer">
- <div id="innerLayer">
- <div id="contentLayer">
- <br />
- <div id="kxz">《幸福花儿飞》 演唱:阿娜丹</div>
- <br />
- <div style="color:#0000FF;font-size:1.2em;margin-top:20px;">素材网络:编辑:静悟</div>
- <br />
- <br />
- <iframe height=500 width=800
- src='https://player.youku.com/embed/XNTg0MTE5MTI4OA==?autoplay=true' frameborder=0 'allowfullscreen'></iframe>
- </div>
- </div>
- </div>
- <div style="height:170px;"></div>
复制代码 你的边框没出来就是多了红字的代码,视频转不出来,也是多了红色的代码。去掉这些红色的代码,应该是没问题了。
|
|