Friday, September 14, 2007

The smallest things can be the most awesome

I discovered (on my own, seriously!) the greatest feature that I didn't know that Expression Web and SharePoint Designer had: you can highlight text in the web page editor, and press Ctrl+Q to wrap your current selection in a new tag. For example, you can highlight a block of code, and then press

Ctrl+Q code Enter

to wrap your selection in <code></code> tags. If you want to, you can even do something like

Ctrl+Q span style="code" Enter

if you wanna get all complicated. I knew that you could do this for existing tags (if, say, you wanted to enclose a div inside of another div), but not for just random text. I'm gonna use this all the time.

No comments: