views:

41

answers:

1

for example.

if i want to quickly wrap anything 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.

A: 

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

metal-gear-solid