Html 缩进整段?

Html 缩进整段?,html,text,xhtml,indentation,paragraph,Html,Text,Xhtml,Indentation,Paragraph,我为FAQ页面设置了如下代码: <p><strong>This Is A Question</strong></p> <p><strong>Answer.</strong> This is the content of the answer, and I am going to keep typing until it kicks to a new line.</p> 这是一个问题 答案。这是答案

我为FAQ页面设置了如下代码:

<p><strong>This Is A Question</strong></p>
<p><strong>Answer.</strong> This is the content of the answer, and I am going to keep 
typing until it kicks to a new line.</p>
这是一个问题

答案。这是答案的内容,我将保留 打字,直到跳转到新的一行

我注意到,当通过浏览器显示时,新行不会与答案内容的开头对齐。从左对齐,如中所示。我也知道不要指望HTML做这样的事情,必须质疑的是。在遇到“缩进”文本本身时,我有什么选择


任何帮助都将不胜感激

我想这就是你想要的:

<p><strong>This Is A Question</strong></p>
<p><strong style="float:left">Answer.</strong> 
<div style="display:inline-table;float:right">This is the content of the answer, and I am going to keep typing until it kicks to a new line.</div></p>
这是一个问题

回答。 这是答案的内容,我将继续打字,直到它开始到一个新的行


编辑:从头开始,它在FF+IE中工作,但在chrome中不起作用。受此启发,您可以查看JSFIDLE的更新。

尝试在CSS中为段落的div添加负数填充。
通常在webkit和gecko之间工作。

这里是。对你的问题的描述不是很清楚。你到底想看什么?@Alex-这是我的最新分数。你现在明白了吗?文本放在“答案”下面,我想让它做的是让答案的实际内容缩进,不管它有多长,所以每行都从答案内容的开头开始。而不是一直走到“答案”下面的左边。谢谢你的努力,兄弟。