Inserting <span>
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Inserting <span>
How can I get HTMPad to insert <span>...</span> around selected text? I can't see how to do it. Is a very desirable feature when working with css.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
I don't have HTML Pad, only WeBuilder, but I believe HP has the code library feature. Essentially, you just add a snippet.
Open the library by clicking the 'View' menu, and 'Library'.
Create a new snippet and give it a name (eg, 'Add span')
Give it a shortcut key if desired. This'll be useful to add this snippet quickly.
In the 'Insert before caret', type <span>.
In the 'Insert after caret', type </span>.
This works as desired around highlighted text - which is a useful feature - very clever and well thought out.
Open the library by clicking the 'View' menu, and 'Library'.
Create a new snippet and give it a name (eg, 'Add span')
Give it a shortcut key if desired. This'll be useful to add this snippet quickly.
In the 'Insert before caret', type <span>.
In the 'Insert after caret', type </span>.
This works as desired around highlighted text - which is a useful feature - very clever and well thought out.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact: