Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8058549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:23:29+00:00 2026-06-05T09:23:29+00:00

Are there are CSS compressors online which do not remove any of the CSS

  • 0

Are there are CSS compressors online which do not remove any of the CSS browser hacks.

E.g: Using: cleancss.com it makes no difference which options I set it will always remove the *display for IE display inline-block hack.

a {
    border-radius:5px
    display: inline-block;
    *display: inline;
    zoom: 1;
    text-shadow: 0 2px 3px rgba(0,0,0,0.4);
    -moz-border-radius:5px;-webkit-border-radius:5px;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:23:32+00:00Added an answer on June 5, 2026 at 9:23 am

    CSS Compressor and Clean CSS usually work for me, although I prefer to use a different stylesheet for all previous versions of internet explorer. It is usually better to keep previous browser supporting css seprately. Or keep hacks in a seprate file and appened it to the compressed css.

    In your case, however, the compressors do remove *

    I do not know any online compressors which preserve the hacks, however, I can offer workarounds.

    A solution would be to use hacks on selector rather than on attribute.
    Here are a couple of examples :

    * html #uno  { color: red } /*IE6 and below*/
    *+html #dos { color: red }  /*IE7*/
    

    Check here about the other hacks available : http://paulirish.com/2009/browser-specific-css-hacks/

    If that does not work for you another workaround, might be a little tiresome, but before compression, add some unique value before a hack like

    #uno {#HACK#display:inline;}
    

    and then after compression using a text editor replace all #HACK# with *

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any CSS hack to target just browsers that do not support the
Is there a CSS property that tells the browser to word-wrap at any position,
Is there any CSS grid system that supports full viewport width? Most Grid System
Are there any html/css checkers that are javascript based like JSLINT?
I was wondering if there is any CSS/HTML/JavaScript magic to do what I want
is there any css validator with CSS3 and vendor specific extensions support? I only
Is there any CSS frameworks like Sass and Compass for developing in PHP that
Is there any CSS parser for C/C++ with CSS3 support? I found a few
I found this CSS minifier ( http://www.lotterypost.com/css-compress.aspx ). There is a section at the
How do you get cross browser compatibility in Print? any tips for print css

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.