Html 从单词复制/粘贴到表达式
当我将word文档复制/粘贴到Expressions Web时,会出现奇怪的行为。下面word的屏幕截图,有时它会将顶行放在一个Html 从单词复制/粘贴到表达式,html,css,microsoft-expression-web,Html,Css,Microsoft Expression Web,当我将word文档复制/粘贴到Expressions Web时,会出现奇怪的行为。下面word的屏幕截图,有时它会将顶行放在一个标记中,其余的放在一个单独的标记中,导致两者之间有一点间隙。这是否正在成为如何使用HTML编码的新规范,或者我的word文档中是否有我看不到的隐藏字符/分隔符。例如,直接复制/粘贴呈现此HTML <p class="MsoNormal"><b><u>This is the top row of my information<o:
标记中,其余的放在一个单独的
标记中,导致两者之间有一点间隙。这是否正在成为如何使用HTML编码的新规范,或者我的word文档中是否有我看不到的隐藏字符/分隔符。例如,直接复制/粘贴呈现此HTML
<p class="MsoNormal"><b><u>This is the top row of my information<o:p>
</o:p></u></b></p>
<span style="font-size:12.0pt;font-family:"
Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;
mso-fareast-language:EN-US;
mso-bidi-language:AR-SA">This is information that should come
up under the top
row and I am just trying to span it for more than 1 line,
maybe go to 2 or three
or four or five or six.<span style="mso-spacerun: yes"> </span>
Oh here comes
more and more and more and more and more and more and more and more.
<span style="mso-spacerun: yes">
</span>Oh I am not done yet, not yet not yet.
<span style="mso-spacerun: yes">
</span>Okay I think this is enough once I reach one more last line.
<span style="mso-spacerun: yes">
</span>Almost to the end, yes I hit it!</span>
这是我信息的第一行
这是应该提供的信息
在上面下面
我只是想跨越一条线,
也许去两三家
或者四五六个。
哦,来了
越来越多越来越多。
哦,我还没做完,还没有。
好了,我想等我再到最后一行就够了。
快结束了,是的,我成功了!
对我来说,只需使用以下语法即可实现完全相同的功能:
<p><strong><u>This is the top row of my information</u></strong><br>
This is information that should come up under the top row and I am just
trying to span it for more than 1 line, maybe go to 2 or three or four or
five or six. Oh here comes more and more and more
and more and more and more and more and more. Oh I am not done yet,
not yet not yet. Okay I think this is enough once I reach one more last
line. Almost to the end, yes I hit it!</p>
这是我信息的第一行
这是应该放在第一行下面的信息,我只是
尝试跨越超过一条线,可能会跨越2条、3条、4条或更多条线
五六个。哦,越来越多的人来了
越来越多,越来越多。哦,我还没做完,
还没有。好吧,我想这已经足够了,只要我再到最后一个
线路。快结束了,是的,我成功了
为什么所有的额外语法都包含表达式
我可能错了,但我相信通常从Microsoft Word复制和粘贴会导致Expression Web出现问题。我会给出更多的理由来解释具体的原因,但在我上大学的时候,有人特别告诉我,如果我们要这样做,我们应该从记事本之类的程序中复制和粘贴 据微软称,似乎不建议直接复制/粘贴。如果还没有,请尝试使用格式粘贴
还有一个微软论坛说Word有可怕的网页标记,因为它不是网页设计工具。我回答了你的问题吗?如果没有,请随意评论,这样我就可以看看我是否有什么要补充的。这是一个很好的答案,并解释了为什么添加了所有额外的语法。令人恼火的是,我不得不返回并手动在文本中添加粗体/斜体/项目符号等。我希望这个产品会更像dreamweaver,我可以直接从任何媒体进行复制/粘贴,获得正确的html代码,并在页面上正确显示。是的,根据我的经验,我发现expression Web非常挑剔,所以如果你能找到另一个可以满足你需要的程序,那可能是你最好的选择。谢谢你的提示。因为expression Web是免费的,Dreamweaver会让你的第一个孩子花钱……哈哈