Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在live server上更改文本对齐方式_Html_Css_Wordpress - Fatal编程技术网

Html 在live server上更改文本对齐方式

Html 在live server上更改文本对齐方式,html,css,wordpress,Html,Css,Wordpress,我试图在wordpress网站上添加这个表,但当我添加“p标签”格式时,它会自动移到左边。当我在本地机器上测试相同的代码时,它工作正常。有什么问题吗 <style type="text/css"> .tftable {color:#333333;width:100%;border-width: 1px;border-color: #729ea5;border-collapse: collapse; font-family: Verdana, Geneva, sans-serif;ta

我试图在wordpress网站上添加这个表,但当我添加“p标签”格式时,它会自动移到左边。当我在本地机器上测试相同的代码时,它工作正常。有什么问题吗

<style type="text/css">
.tftable {color:#333333;width:100%;border-width: 1px;border-color: #729ea5;border-collapse: collapse; font-family: Verdana, Geneva, sans-serif;table-layout: fixed;}
.tftable th {font-size:24px;background-color:#00D4F3;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;text-align:center;}
.tftable tr {background-color:#D1EFF3;}
.tftable td {font-size:18px;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;}
.tftable tr:hover {background-color:#ffffff;}
.tftable h2 {font-weight:bold; color:0012FF; text-align:center;}
.tftable p {text-align:center;}
</style>

<table class="tftable" border="1">
<tr><th>Wordpress themes</th><th>Theme customization</th><th>Custome Theme</th></tr>
<tr><td>Price</td><td><h2>From $200</h2></td><td><h2>From $400</h2></td></tr>
    <tr>
        <td>Work Delivery Terms</td>
        <td><p>Up to 5 business days</p></td>
        <td><p>from $400</p></td>
    </tr>
    <tr>
        <td>Theme design and coding</td>
        <td><p>Logo, theme colors, layout is changed according to your preferences. Sub pages css styles of the theme are edited according to the theme style.</p></td>
        <td><p>Custom, unique homepage and up to 10 sub pages designed and coded. Psd design mockup is provided only for the homepage.</p></td>
    </tr>
    <tr>
        <td>Plugins installation/design</td>
        <td><p>Up to 3 plugins installation and setup.</p></td>
        <td><p>Up to 5 plugins installation, setup and style change according to the theme.</td>
    </tr>
    <tr>
        <td>Additional plugins installation/design</td>
        <td><p>$30 per hour</p></td>
        <td><p>$30 per hour</p></td>
    </tr>
    <tr>
        <td>Slider on the Home Page</td>
        <td><p>$35</p></td>
        <td><p>Included</td>
    </tr>
    <tr>
        <td>Logo</td>
        <td><p>Simple non-vector logo (1 concept)</p></td>
        <td><p>Simple non-vector logo (max 2 concepts</p></td>
    </tr>
    <tr>
        <td>Additinal pages design/coding</td>
        <td><p>$30 per hour</p></td>
        <td><p>$30 per hour</p></td>
    </tr>
    <tr>
        <td>Footer backlink removal fee</p></td>
        <td><p>$30</td>
        <td><p>$30</p></td>
    </tr>
</table>

.tftable{颜色:#333;宽度:100%;边框宽度:1px;边框颜色:#729ea5;边框折叠:折叠;字体系列:Verdana,日内瓦,无衬线;表格布局:固定;}
.tftable th{字体大小:24px;背景色:#00D4F3;边框宽度:1px;填充:8px;边框样式:纯色;边框颜色:#729ea5;文本对齐:居中;}
.tftable tr{背景色:#D1EFF3;}
.tftable td{字体大小:18px;边框宽度:1px;填充:8px;边框样式:纯色;边框颜色:#729ea5;}
.tftable tr:hover{背景色:#ffffff;}
.tftable h2{字体大小:粗体;颜色:0012FF;文本对齐:居中;}
.tftable p{text align:center;}
Wordpress主题主题定制定制主题
价格从200美元到400美元不等
工作交付条款
最多5个工作日

400美元起

主题设计与编码 徽标、主题颜色、布局将根据您的喜好进行更改。主题的子页面css样式根据主题样式进行编辑

定制、独特的主页和多达10个子页面的设计和编码。Psd设计模型仅为主页提供

插件安装/设计 最多3个插件安装和设置

最多5个插件安装,设置和风格的变化,根据主题。 附加插件安装/设计 每小时30元

每小时30元

主页上的滑块 35美元

包括 标志 简单非矢量徽标(1个概念)

简单的非矢量徽标(最多2个概念

附加页面设计/编码 每小时30元

每小时30元

页脚反向链接删除费

30美元 30美元


您是否正在尝试将
元素粘贴到WP的HTML编辑器中?没有。我已经在主题css文件中添加了css编码。当我保存代码时,标记会自动删除。如果我在标记中使用文本对齐,那么它将是可能的。但我仍然想知道为什么标记会在wordpress editor中删除。奇怪。我刚刚尝试过,但是t如果我尝试相同的方法,则
仍保留在
中。很抱歉,我无法帮助您。请查看此wordpress删除标记。现在已获得我的所有答案。谢谢