Expansion of CSS / loss of comments

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Expansion of CSS / loss of comments

Justin Mclean
Hi,

Is this any reason that CSS like this:

<fx:Style>
    /* centre the logos */
    #logo, #correctLogo {
        position: absolute;
        width: auto;
        height: auto;
        margin: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
 </fx:Style>

Gets expanded to:

#logo {
        position: absolute;
        height: auto;
        width: auto;
        bottom: 0;
        left: 0;
        margin: auto;
        right: 0;
        top: 0;
}

#correctLogo {
        position: absolute;
        height: auto;
        width: auto;
        bottom: 0;
        left: 0;
        margin: auto;
        right: 0;
        top: 0;
}

And the comments stripped out? The comment being removed isn’t really that important in this case but might be in others i.e. it could for instance strip out a license header.

Thanks,
Justin