我有一个div包含一行未格式化的html,我只需要格式化这个div,而不是在这些html页面中。我有大约152页,具有类似的格式,我不知道如何我可以格式化这些网页...如何在HTML中只格式化一个特定的DIV? (源格式)
的格式类似于以下内容:
Features
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
有缩进左侧的r_features DIV,和以前更加格式化的div和这个div之后。因此,如果我使用Dreamweaver以批量/批量格式化这些页面,则所有其他div都会受到干扰。我只需要保留页面的现有格式,但只能更改此div。
如何在不干扰其他div的情况下实现这一目标?我试图寻找一个程序或PHP工具,让我选择确切的格子应用格式。
编辑: 这就是我需要div格式化为html文件的方法......这些div包含列表,表格和段落,如上例所示。我试图格式化类似于下面的格式这些div:
Features
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
- lorem ipsum one two three
2014-09-22
mk117
+0
你问的是如何格式化HTML看起来如何在编辑器中显示或如何实际格式的div与CSS? –
2014-09-22 17:34:31
+0
html在编辑器中的外观....我使用notepad ++来编辑这些文件,div中的这一行html代码不会让我在时间内完成编辑...我不在工作它现在,但明天会编辑它们......想想也许我可以格式化这些div的源代码。 –
2014-09-22 17:37:32
+0
我已更新该问题。 –
2014-09-22 18:55:41