insert div around another tag area

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
lionelts
Rank III - Intermediate
Rank III - Intermediate
Posts: 62
Joined: Sun Jul 29, 2012 2:18 pm

insert div around another tag area

Post by lionelts » Tue Sep 25, 2012 5:49 pm

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 ?
Attachments
Untitled-1.jpg
Untitled-1.jpg (194.22 KiB) Viewed 4226 times

User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
Posts: 507
Joined: Sat Jun 13, 2009 12:38 pm
Contact:

Re: insert div around another tag area

Post by TopStyle Support » Wed Sep 26, 2012 1:26 am

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+[

http://svanas.dynip.com/topstyle/downlo ... ture_panel

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

http://svanas.dynip.com/topstyle/downlo ... p_html_tag

Post Reply