我的HTML文本格式如下:
<p>Something</p> Some other text here.
<p>Something</p> Some other text here.
<p>Something</p> Some other text here.
现在,当我在浏览器中显示它时,它显示如下:
Something
Some other text here.
Something
Some other text here.
Something
Some other text here.
但是,我想在一张整洁的表格中展示它。
像:
Something Some text here.
Something Some text here.
Something Some text here.
有可能吗?
编辑:对不起伙计们!我认为这是不可能的。我要回去工作了。答案 0 :(得分:0)
在<p>
标记中添加一些css,
p{
display:inline;
margin-right:30px;
}
p{
display:inline;
margin-right:30px;
}
&#13;
<p>Something</p> Some other text here.<br> <p>Something</p> Some other text here.<br> <p>Something</p> Some other text here.
&#13;