CSS Shortform option

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
skube
Posts: 6
Joined: Wed Nov 26, 2008 8:56 pm

CSS Shortform option

Post by skube »

Great program. Still evaluating, however, I think there should be an option to use CSS short-forms where possible.

So instead of:
margin-top:1px; margin-right:2px; margin-bottom:3px; margin-left:4px;

It would do:
margin: 1px 2px 3px 4px;
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: CSS Shortform option

Post by MikeyB »

Hello,

There are two options that can achieve that, but you have to execute it after you've done your CSS file rather than it working as you type.

In the CSS menu there are two options, Format CSS code and Compress CSS code
They both do pretty much the same thing, but you have some control over what happens with the Format option.

Cheers,
Mike
Cary
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Re: CSS Shortform option

Post by Cary »

How are you entering the rules? The shorthand form seems pretty well supported. If you are creating the rules completely by hand, then you'll obviously get whatever form you type in; but if you are using the inspector, then you can use the appropriate input:

Image
Post Reply