相关疑难解决方法(0)

HTML:替换<center>

我一直认为用替换<center>标签<div style="text-align:center;">会得到相同的结果.显然我错了.

这是我的HTML的一部分:(您也可以在我为此问题创建的页面中看到它的运行情况:http: //www.movi​​ez.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 …
Run Code Online (Sandbox Code Playgroud)

html xhtml

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

html ×1

xhtml ×1