Inserting <span>

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
madhg
Posts: 22
Joined: Tue Jan 31, 2006 2:24 pm

Inserting <span>

Post by madhg »

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.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

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.
madhg
Posts: 22
Joined: Tue Jan 31, 2006 2:24 pm

Post by madhg »

Thanks for quick and helpful reply; it works fine.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

Your welcome. Shows how customisable and powerful these programs can be.
Post Reply