Page 1 of 1

insert div around another tag area

Posted: Tue Sep 25, 2012 5:49 pm
by lionelts
during design we need sometime to add some div around some others div ( image label using ltrb =>left top right bottom ) .
it ll be nice to be able to select at first a box and then another box bigger that the selected one or add insert a div tag around the selected box .

For example see the image. the cursor is inside a html tag ; choose select box ll higligh p ( id=p3 begin and end). then reselect " select box item) will select another div (id=p2).
then reselct select box ll select div ( id=p0). then select insert div ll insert div ( <div> in the beginning of the selected area and </div> in the head of arera ) .

could this feature ll be usefull ?

Re: insert div around another tag area

Posted: Wed Sep 26, 2012 1:26 am
by TopStyle Support
TopStyle 5 supports all of this.

The 1st feature you're asking for ("select parent HTML tag") is available in TopStyle 5 when you press: Ctrl+[

The 2nd feature you're asking for ("wrap HTML tag") is available in TopStyle 5 when you click: Edit > Wrap HTML Tag