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 ?
insert div around another tag area
insert div around another tag area
- Attachments
-
- Untitled-1.jpg (194.22 KiB) Viewed 5435 times
- TopStyle Support
- Rank VI - Professional
- Posts: 506
- Joined: Sat Jun 13, 2009 12:38 pm
- Contact:
Re: insert div around another tag area
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
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