开发者

How to make tag group with including predefined attributes, to wrap other things quickly?

for example.

if i want to quickly wrap anythin开发者_如何学运维g by this in once.

in dreamweaver or in any other free software where i can do this.

I want to select this

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

and in one shot want to wrap inside 2 divs with predefined classes

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

      </div>
</div>

I have work with large amount of code and need to wrap random things in Divs with defined attributes.


I found my answer on my own after digging.

We can do this from Dreamweaver Snippet's "Insert before" and "Insert after" optiion

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜