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


Tags: css,plugins,scripting,text-editor

Problem :

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?



Solution :

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


    CSS Howto..

    How to toggle css visibility with Javascript

    CSS menu list items need to show inside div container

    How to do something like #Card%{ } in CSS

    how to make the background the same as the div size in css

    How to remove all inherited CSS formatting for a table?

    How can i unify 2 images with drag and drop?

    How to apply a CSS gradient over a text, from a transparent to an opaque colour

    How to create this image using CSS?

    jquery show() not displaying properly for highcharts graph

    CSS: How to add borders of different colors to input radio buttons labels?

    How do you make a sticky nav bar change colour when you scroll to a desired div?

    how to use javascript to get visited link css styles

    How would YOU do this: Tables or CSS? [closed]

    CSS how do you stretch to fit and maintain the aspect ratio?

    How can i setup multiple sites within a single ASP.Net project?

    how to get value from this html date-ranger?

    how to position/resize image after rotation using css/js so that the image is not positioned outside the div holding it or cropped out

    How do I create a pattern overlay in CSS

    How does reddit create the top header without any margins?

    How can I toggle between multiple .css with jquery?

    how to make NGINX serve static content like .js, .css, .html?

    list-style-type no showing

    how to use querySelector to select dynamic added elements

    How to click an element by innerthtml using CSS selectors in Selenium

    How is physical inch related to pixels in css given so many different resolutions?

    How can I make a fix positioned menu bar?

    how to make the navbar fixed to top

    Does anyone know how to getr this background effect with css?

    How to use Sass mixin transition for applying transition-delay only?

    How to Make an OS X Style Search in XHTML/CSS