【问题标题】:How to make tag group with including predefined attributes, to wrap other things quickly?如何制作包含预定义属性的标签组,以快速包装其他内容?
【发布时间】:2011-01-30 16:30:39
【问题描述】:

例如。

如果我想一次快速包装任何东西。

在 Dreamweaver 或任何其他我可以做到这一点的免费软件中。

我要选择这个

<p>anything can be here - content, other html tag etc.</p>

并且想要一次性使用预定义的类将 2 divs 包裹起来

<div class="one">
      <div class="two">
<p>anything can be here - content, other html tag etc.</p>

      </div>
</div>

我处理了大量代码,需要在 Divs 中使用定义的属性包装随机的东西。

【问题讨论】:

  • 你能不能重写你的问题,没有任何意义。
  • 您是在问如何将某些 HTML 片段自动包装在其他(预定义的)HTML 片段中?
  • @Jan Hančič - 是的,在 Dreamweaver 中...
  • 但带有预定义类的标签

标签: css xhtml dreamweaver code-snippets code-templates


【解决方案1】:

我在挖掘之后自己找到了答案。

我们可以通过 Dreamweaver Snippet 的“Insert before”和“Insert after”选项来做到这一点

alt text http://shup.com/Shup/300767/11022382120-My-Desktop.png

【讨论】:

    猜你喜欢
    • 2017-03-26
    • 1970-01-01
    • 1970-01-01
    • 2019-12-22
    • 1970-01-01
    • 2012-12-22
    • 2015-09-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多