Forums
This topic is locked
Keyboard Combo for Spans?
Posted 29 Jul 2005 01:56:44
1
has voted
29 Jul 2005 01:56:44 Mark Hiatt posted:
For the next week or so I'm going to be waist-deep in some really formatty pages, with tons of spans. I know, love and use every day the combination of <b>Control+Shift+P</b> to generate a pair of paragraph tags. Highlight a word, <b>Control+Shift+P</b> and Boom! - there it is in its own paragraph. Highlight a whole line, or several lines, <b>Control+Shift+P</b> and they're all a part of a new paragraph. Type <b>Control+Shift+P</b> alone and you get a paragraph-open and paragraph-close tag alone together, ready for whatever goes in there. How cool is that, right?Well, I'm about to start working with a <i>ton</i> of Spans, some of them even nested, and it would be great if I could <b>Control+Shift+\</b> or something and have that generate, inline, <b><span class=""></span></b> or even <b><span></span></b>. As popular as Divs and Spans are becoming, it's hard to believe that there isn't some keyboard combination that generates a pair. Does anyone know of one? Thanks!
"Better Documentation Through Science!"
Mark D Hiatt,
Lincoln, NE