appqui-platform appqui-platform - 21 days ago 4
CSS Question

How to convert css long to css one line style with Notepad++

from style that looks like this:

ul#menu
{
padding: 0 0 2px;
position: relative;
margin: 0;
text-align: right;
}


to:

ul#menu { padding: 0 0 2px; position: relative; margin: 0; text-align: right; }


Is there auto plugin, or script?

Answer

If you have the TextFX plugin (which comes by default) select the text you wish to fix and then follow these instructions to select the appropriate TextFX function from the menu bar:

TextFX -> TextFX Edit -> Unwrap Text

Comments