大佬教程收集整理的这篇文章主要介绍了HTML:替代,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是我的HTML的一部分:
(您也可以在我为此问题创建的页面中看到它的运行情况:
http://www.moviez.4pu.com/ErrorPageSO.aspx
<div style="margin: 0 auto; BACkground-color:red;border:5px solid black;margin-top:5px;width:750px;text-align:center;"> <span style="width:560px;padding-right:10px;text-align:left;float:left;"> <h1>Oops... We're sorry.</h1> <h3>You've just encountered an unknown error. <br /></h3> This site is a work-in-progress,we have already been informed of the error and will do our best to fix it. <br /> We would be thankful if you could contact us through the appropriate button and elaborate on what caused this error to appear.<br /> <br /> <h3> You can go BACk to the <a style="text-decoration:underline;" href="Default.aspx">Home page</a> and conTinue using Moviez.NET. </h3> </span><span style="width:180px;float:left;"><img src="resources/Images/404.jpg" /></span> </div>
我想做两件事:
>摆脱< center>标记,同时将div保持在页面的中心.
>确保外部DIV背景颜色和边框影响内跨距.
更新:
目标1完成.
目标#2的时间.
<div style="margin: 0 auto; BACkground-color:red;border:5px solid black;margin-top:5px;width:750px;text-align:center;"> <span style="width:560px;padding-right:10px;text-align:left;"> <h1>Oops... We're sorry.</h1> <h3>You've just encountered an unknown error. <br /></h3> This site is a work-in-progress,we have already been informed of the error and will do our best to fix it. <br /> We would be thankful if you could contact us through the appropriate button and elaborate on what caused this error to appear.<br /> <br /> <h3> You can go BACk to the <a style="text-decoration:underline;" href="Default.aspx">Home page</a> and conTinue using Moviez.NET. </h3> </span><span style="width:180px;"><img src="resources/Images/404.jpg" /></span> </div>
以上是大佬教程为你收集整理的HTML:替代全部内容,希望文章能够帮你解决HTML:替代所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。