文本突破Divs - 仅限Wordpress

时间:2014-05-15 05:35:44

标签: html css wordpress

我希望我不违反本网站的任何规则,但发布该问题的链接是必要的。我已经从源代码复制了html并在本地html文件中进行了测试,并且它没有中断。我不能为我的生活工作。

如果您查看演示网页,您可以看到文本在整个网站中的中断位置(如果有帮助的话,它是一个wordpress网站)。

Online Demo

这是html:

<h2>Our Core Values:</h2>
<strong>Relationship with God: </strong> This is our primary relationship.  We were created to serve and give praise to our Creator, through our thoughts, words, and actions.  When we do this, we experience the presence of God as our Heavenly Father and live in a joyful, intimate relationship with Him.

<strong>Relationship with Self:</strong> People are uniquely created in the image of God and thus have inherent worth and dignity.  While we must remember that we are not God, we have the high calling of reflecting God’s being, making us superior to the rest of creation.

<strong>Relationship with Others:</strong> God created us to live in loving relationship with one another, and to encourage one another to use the gifts God has given to each of us to fulfill our calling.

<strong>Relationship with the rest of Creation:</strong> The cultural mandate of Gen 1:28-30 teaches that God created us to be stewards, people who understand, subdue and manage the world that God created in order to produce bounty.  While God made the World ‘perfect’ He left it incomplete.  God called humans to interact with creation to make possibilities into realities and to be able to sustain ourselves via the fruit of our stewardship.  The economically poor are singled out in the Scriptures as being in a particularly desperate category and as needing very specific attention (Acts :-1:6-7)
<ul>
<li>Faith – God is our provider and equips in all He calls us to do.</li>
<li>The Great Commissions -  We are called to make disciples of all nations (Matthew 28:19-20)</li>
<li>Relationship - The body of Christ is held together in relationship with the Lord and each other and self.</li>
<li>Partnership – The Lord never calls one person to work alone.  A biblical, effective model of missionary involvement.  Ministry partnerships should promote interdependence, not dependence.</li>
<li>Leadership – The five-fold gifts are meant to operate in the establishment and leading of the church.</li>
<li>Faithful stewardship and accountability are essential for successful ministry.</li>

就像我说的,如果您将源复制到本地html页面并使用WAMP进行测试,这样可以正常工作。

请希望有人可以帮我解决此问题,如果发布链接违反了规则我很抱歉,但由于问题已本地化,因此我无其他选择。

4 个答案:

答案 0 :(得分:2)

添加此CSS

li { word-wrap: break-word; }

答案 1 :(得分:0)

您的信息页http://kenyaaustraliamission.com/statement-of-faith/

正在突破容器,因为文本中的空格被替换为不间断的空间实体引用

检查WordPress信息中心中的实际文字

    We&nbsp;believe&nbsp;the&nbsp;Bible&nbsp;to&nbsp;be&nbsp;the&nbsp;inspired,&nbsp;only,&nbsp;infallible&nbsp;and&nbsp;authoritative&nbsp;Word&nbsp;of&nbsp;God

答案 2 :(得分:0)

您的HTML问题请在html代码 p tag &nbsp;中删除

示例如下

enter image description here

现在查看 this answer

答案 3 :(得分:0)

您的网页http://kenyaaustraliamission.com/statement-of-faith/正在破坏,因为它将整行作为一个单词并且不在div中。这是因为每个空间都没有空间。