png and IE even easier

    During the layout, I encountered the problem of displaying png in IE6. A search in Habré gave several solutions, but all of them did not fit for various reasons.

    Task: there are 4 png pictures, you need to display them normally in IE6.

    So here is the solution I found:


    .bg_img {width:47px; padding:0; margin:0;background-color: #1f1e1a;}

    You must specify the size of the image, as practice has shown, only the width is enough.
    The hot code was pulled straight from the project :-).

    It seemed to me a very simple and convenient tool, at least for this task.

    Also popular now: