appqui-platform appqui-platform - 1 year ago 103
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download